summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R. Fisher <mfisher@bketech.com>2013-07-15 16:44:03 -0500
committerMichael Fisher <mfisher31@gmail.com>2013-07-15 22:57:34 -0500
commit693713ecdb0bd4024f0a45aac6b74bd00d00eae4 (patch)
tree640d9c276f9e1fdc03aa0b1fceba0cb89f8830f3
parent3e11c80ac3adc2679b013e0d24746e4cc6308a1c (diff)
Allow compiling with c++11 enabled
-rw-r--r--libs/audiographer/audiographer/debug_utils.h3
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