summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp')
-rw-r--r--Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp b/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp
index e052aff..f30e3fd 100644
--- a/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp
+++ b/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp
@@ -3,18 +3,21 @@
* All rights reserved.
* See the COPYING file for more information.
*/
#include <gtest/gtest.h>
#include <hippomocks.h>
#include <Swift/Controllers/Chat/Chattables.h>
+// Clang wrongly things that tests for 0 are using 0 as null.
+#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
+
using namespace Swift;
class ChattablesTest : public ::testing::Test {
protected:
void SetUp() {
beginListSize_ = 0;
endListSize_ = 0;
callsToBegin_ = 0;
callsToEnd_ = 0;