mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 23:18:20 +01:00
Allow compiling with c++11 enabled
This commit is contained in:
parent
3e11c80ac3
commit
693713ecdb
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue