summaryrefslogtreecommitdiffstats
path: root/benchmarks/tst_messageserver/testmalloc.cpp
diff options
Diffstat (limited to 'benchmarks/tst_messageserver/testmalloc.cpp')
-rw-r--r--benchmarks/tst_messageserver/testmalloc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/tst_messageserver/testmalloc.cpp b/benchmarks/tst_messageserver/testmalloc.cpp
index 5f5a4ac5..459bbd33 100644
--- a/benchmarks/tst_messageserver/testmalloc.cpp
+++ b/benchmarks/tst_messageserver/testmalloc.cpp
@@ -247,11 +247,11 @@ void TestMallocPrivate::updatePeak()
do { if (D) { \
didref = true; \
D->inTestMalloc.ref(); \
- } } while(0)
+ } } while (0)
#define DEREF if (didref) D->inTestMalloc.deref()
#else
-#define REF do {} while(0)
-#define DEREF do {} while(0)
+#define REF do {} while (0)
+#define DEREF do {} while (0)
#endif
extern "C" void* malloc(size_t size)