X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdebug%2Fdemangle.cpp;h=3ed3171960ff8decc29384d1216937c8042f35f4;hb=991fabc1956b73a4007859058fb44171000b452e;hp=053fd52bc4a867a9a1f8d3f63641fdf4962d0f4b;hpb=b56eb5ec1da675da0c66abc53c1e4f6c4e4cccbd;p=libs%2Fcore.git diff --git a/source/debug/demangle.cpp b/source/debug/demangle.cpp index 053fd52..3ed3171 100644 --- a/source/debug/demangle.cpp +++ b/source/debug/demangle.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspcore -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #ifdef __GNUC__ #include @@ -20,7 +13,7 @@ string demangle(const string &sym) { #ifdef __GNUC__ int status; - char *dm = abi::__cxa_demangle(sym.c_str(), 0, 0, &status); + char *dm = abi::__cxa_demangle(sym.c_str(), nullptr, nullptr, &status); string result; if(status==0)