diff options
author | Michael R. Fisher <mfisher@bketech.com> | 2013-07-15 16:44:03 -0500 |
---|---|---|
committer | Michael Fisher <mfisher31@gmail.com> | 2013-07-15 22:57:34 -0500 |
commit | 693713ecdb0bd4024f0a45aac6b74bd00d00eae4 (patch) | |
tree | 640d9c276f9e1fdc03aa0b1fceba0cb89f8830f3 /libs/audiographer/audiographer | |
parent | 3e11c80ac3adc2679b013e0d24746e4cc6308a1c (diff) |
Allow compiling with c++11 enabled
Diffstat (limited to 'libs/audiographer/audiographer')
-rw-r--r-- | libs/audiographer/audiographer/debug_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/audiographer/audiographer/debug_utils.h b/libs/audiographer/audiographer/debug_utils.h index a1d8259716..a1dad22eaf 100644 --- a/libs/audiographer/audiographer/debug_utils.h +++ b/libs/audiographer/audiographer/debug_utils.h @@ -3,6 +3,7 @@ #include "flag_field.h" +#include <cstdlib> #include <string> #ifdef __GNUC__ @@ -24,7 +25,7 @@ struct DebugUtils char * res = abi::__cxa_demangle (typeid(obj).name(), 0, 0, &status); if (status == 0) { std::string s(res); - free (res); + std::free (res); return s; } #endif |