We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee855c0 commit 74da8a3Copy full SHA for 74da8a3
unitTests/test_types.cpp
@@ -36,7 +36,7 @@ TEST(DataBuf, defaultInstanceIsEmpty) {
36
37
TEST(DataBuf, allocatesDataWithNonEmptyConstructor) {
38
DataBuf instance(5);
39
- ASSERT_NE(static_cast<byte*>(nullptr), instance.c_data()); /// \todo use nullptr once we move to c++11
+ ASSERT_NE(nullptr, instance.c_data());
40
ASSERT_EQ(5, instance.size());
41
}
42
0 commit comments