From: Amos Jeffries Date: Wed, 20 Apr 2016 10:14:37 +0000 (+1200) Subject: nullptr is a C++11 feature X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed558c16c53feb191d3c5928a16ffa71234bc149;p=thirdparty%2Fsquid.git nullptr is a C++11 feature --- diff --git a/src/tests/stub_cbdata.cc b/src/tests/stub_cbdata.cc index 6b4dff4555..d91b309a0c 100644 --- a/src/tests/stub_cbdata.cc +++ b/src/tests/stub_cbdata.cc @@ -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)