]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
nullptr is a C++11 feature
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Apr 2016 10:14:37 +0000 (22:14 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Apr 2016 10:14:37 +0000 (22:14 +1200)
src/tests/stub_cbdata.cc

index 6b4dff4555f8eb8839e82d9518b8361ae6f3d658..d91b309a0c2558f2796c790160ffa9d767e28b5a 100644 (file)
@@ -10,7 +10,7 @@ void *cbdataInternalAlloc(cbdata_type type, const char *, int sz) {
 }
 void *cbdataInternalFree(void *p, const char *, int) {
     xfree(p);
-    return nullptr;
+    return NULL;
 }
 #if USE_CBDATA_DEBUG
 void *cbdataInternalAllocDbg(cbdata_type type, const char *, int) STUB_RETVAL(NULL)