mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Add initial .clang-tidy and fixes
This commit is contained in:
@@ -11,8 +11,9 @@ class MxStreamList : public list<T> {
|
||||
public:
|
||||
MxBool PopFront(T& p_obj)
|
||||
{
|
||||
if (this->empty())
|
||||
if (this->empty()) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
p_obj = this->front();
|
||||
this->pop_front();
|
||||
@@ -29,8 +30,9 @@ public:
|
||||
// instead of MxDSAction. Until then, we use this helper.
|
||||
MxBool PopFrontStreamingAction(MxDSStreamingAction*& p_obj)
|
||||
{
|
||||
if (empty())
|
||||
if (empty()) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
p_obj = (MxDSStreamingAction*) front();
|
||||
pop_front();
|
||||
|
||||
Reference in New Issue
Block a user