Cycles: Cleanup, order of arguments to EXPECT_EQ

The order was wrong from the semantic point of view, caused
by some legacy workarounds in Libmv. Didn't realize it's was
not how things were expected to be used.
This commit is contained in:
2017-02-03 11:35:34 +01:00
parent 103f2655ab
commit e1e85454ea
4 changed files with 86 additions and 86 deletions

View File

@@ -18,7 +18,7 @@
#include "util/util_aligned_malloc.h"
#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ(0, (size_t)ptr % align)
#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ((size_t)ptr % align, 0)
CCL_NAMESPACE_BEGIN