From f3e216f001d6fb6af75f9728930bddf3da59cccf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 16 Aug 2018 23:36:38 +0900 Subject: Switch from strstream to sstream. Signed-off-by: Michele Calgaro (cherry picked from commit 7a7c17092fcdd4772fb6e499ef13429f96ac04bb) --- lib/kross/python/cxx/Extensions.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/kross/python/cxx/Extensions.hxx') diff --git a/lib/kross/python/cxx/Extensions.hxx b/lib/kross/python/cxx/Extensions.hxx index 69ce9a14b..99889ec7b 100644 --- a/lib/kross/python/cxx/Extensions.hxx +++ b/lib/kross/python/cxx/Extensions.hxx @@ -158,7 +158,7 @@ namespace Py extern "C" void do_not_dealloc( void * ); - template + template class ExtensionModule : public ExtensionModuleBase { public: @@ -213,7 +213,7 @@ namespace Py // so that we get called back at the function in T. // method_map_t &mm = methods(); - EXPLICIT_TYPENAME method_map_t::iterator i; + typename method_map_t::iterator i; for( i=mm.begin(); i != mm.end(); ++i ) { @@ -434,7 +434,7 @@ namespace Py static PyObject *method_call_handler( PyObject *self, PyObject *args ); }; - template + template class PythonExtension: public PythonExtensionBase { public: @@ -548,7 +548,7 @@ namespace Py { List methods; - for( EXPLICIT_TYPENAME method_map_t::iterator i = mm.begin(); i != mm.end(); ++i ) + for( typename method_map_t::iterator i = mm.begin(); i != mm.end(); ++i ) methods.append( String( (*i).first ) ); return methods; @@ -701,7 +701,7 @@ namespace Py // // ExtensionObject is an Object that will accept only T's. // - template + template class ExtensionObject: public Object { public: -- cgit v1.2.3