diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-16 23:36:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-16 23:36:38 +0900 |
commit | 7a7c17092fcdd4772fb6e499ef13429f96ac04bb (patch) | |
tree | e704b24ea9e06e2d1483130ab51bbc7b21723ad4 /lib/kross/python/cxx/Extensions.hxx | |
parent | d3ca65fd8dd632a157f3199f07c6a765bd715b09 (diff) | |
download | koffice-7a7c17092fcdd4772fb6e499ef13429f96ac04bb.tar.gz koffice-7a7c17092fcdd4772fb6e499ef13429f96ac04bb.zip |
Switch from strstream to sstream.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kross/python/cxx/Extensions.hxx')
-rw-r--r-- | lib/kross/python/cxx/Extensions.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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_TYPENAME T> + template<typename T> 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_TYPENAME T> + template<typename T> 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<T> is an Object that will accept only T's. // - template<TEMPLATE_TYPENAME T> + template<typename T> class ExtensionObject: public Object { public: |