From 9bd733502a774baad0c6d9644310da844c68e78f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Oct 2010 13:58:01 +0200 Subject: Cosmetic changes --- xsde/cxx/serializer/attribute-validation-source.cxx | 4 ++-- xsde/cxx/serializer/element-validation-source.cxx | 4 ++-- xsde/cxx/serializer/serializer-source.cxx | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'xsde/cxx') diff --git a/xsde/cxx/serializer/attribute-validation-source.cxx b/xsde/cxx/serializer/attribute-validation-source.cxx index 8bea35a..3457538 100644 --- a/xsde/cxx/serializer/attribute-validation-source.cxx +++ b/xsde/cxx/serializer/attribute-validation-source.cxx @@ -343,8 +343,8 @@ namespace CXX os << "delete[] ns;" << "delete[] name;"; else - os << "::xsde::cxx::free (const_cast (ns));" - << "::xsde::cxx::free (const_cast (name));"; + os << "::xsde::cxx::free (const_cast< char* > (ns));" + << "::xsde::cxx::free (const_cast< char* > (name));"; os << "}" << "if (!r)" << endl diff --git a/xsde/cxx/serializer/element-validation-source.cxx b/xsde/cxx/serializer/element-validation-source.cxx index bb09275..21fb6b6 100644 --- a/xsde/cxx/serializer/element-validation-source.cxx +++ b/xsde/cxx/serializer/element-validation-source.cxx @@ -751,8 +751,8 @@ namespace CXX os << "delete[] ns;" << "delete[] name;"; else - os << "::xsde::cxx::free (const_cast (ns));" - << "::xsde::cxx::free (const_cast (name));"; + os << "::xsde::cxx::free (const_cast< char* > (ns));" + << "::xsde::cxx::free (const_cast< char* > (name));"; os << "}" << "if (!r)" << endl diff --git a/xsde/cxx/serializer/serializer-source.cxx b/xsde/cxx/serializer/serializer-source.cxx index ab5c123..630d052 100644 --- a/xsde/cxx/serializer/serializer-source.cxx +++ b/xsde/cxx/serializer/serializer-source.cxx @@ -1394,8 +1394,8 @@ namespace CXX os << "delete[] ns;" << "delete[] name;"; else - os << "::xsde::cxx::free (const_cast (ns));" - << "::xsde::cxx::free (const_cast (name));"; + os << "::xsde::cxx::free (const_cast< char* > (ns));" + << "::xsde::cxx::free (const_cast< char* > (name));"; os << "}" << "if (!r)" << endl @@ -1654,8 +1654,8 @@ namespace CXX os << "delete[] ns;" << "delete[] name;"; else - os << "::xsde::cxx::free (const_cast (ns));" - << "::xsde::cxx::free (const_cast (name));"; + os << "::xsde::cxx::free (const_cast< char* > (ns));" + << "::xsde::cxx::free (const_cast< char* > (name));"; os << "}" << "if (!r)" << endl -- cgit v1.1