/[svn]/libgig/trunk/src/Serialization.cpp
ViewVC logotype

Diff of /libgig/trunk/src/Serialization.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3454 by persson, Sun Jan 27 10:07:48 2019 UTC revision 3464 by schoenebeck, Sun Feb 10 20:25:05 2019 UTC
# Line 404  namespace Serialization { Line 404  namespace Serialization {
404      String DataType::customTypeName(bool demangle) const {      String DataType::customTypeName(bool demangle) const {
405          if (!demangle) return m_customTypeName;          if (!demangle) return m_customTypeName;
406          int status;          int status;
407          const char* result =          char* result =
408              abi::__cxa_demangle(m_customTypeName.c_str(), 0, 0, &status);              abi::__cxa_demangle(m_customTypeName.c_str(), 0, 0, &status);
409          return (status == 0) ? result : m_customTypeName;          String sResult = result;
410            free(result);
411            return (status == 0) ? sResult : m_customTypeName;
412      }      }
413    
414      // *************** Member ***************      // *************** Member ***************

Legend:
Removed from v.3454  
changed lines
  Added in v.3464

  ViewVC Help
Powered by ViewVC