'PBD::demangle()' - Minor modification to keep MSVC happy
authorJohn Emmas <johne53@tiscali.co.uk>
Mon, 14 Oct 2013 16:40:15 +0000 (17:40 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Mon, 14 Oct 2013 16:40:15 +0000 (17:40 +0100)
libs/pbd/stacktrace.cc

index a51dbc934d7d0306ee230937526c4bf8dc52c401..eca808bfd76094e62bbbba15007b907c294fc11d 100644 (file)
@@ -22,6 +22,7 @@
 #include "pbd/stacktrace.h"
 #include <cstdio>
 #include <iostream>
+#include <string>
 
 void
 PBD::trace_twb ()
@@ -107,7 +108,8 @@ PBD::stacktrace (std::ostream& out, int levels)
 std::string 
 PBD::demangle (std::string const & l)
 {
-       return string;
+       std::string empty_string;
+       return empty_string;
 }
 
 void