]> 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:06 +0000 (22:14 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Apr 2016 10:14:06 +0000 (22:14 +1200)
src/tests/stub_cbdata.cc

index 2c713629da96b263d945e5f64b90bd00b4aa7c23..2fdbc08c4b265d323388a12b3aec72df908b7116 100644 (file)
@@ -18,7 +18,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)