summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/cxx/Extensions.hxx
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-16 23:36:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-16 23:37:08 +0900
commitf3e216f001d6fb6af75f9728930bddf3da59cccf (patch)
tree06a2261125a736ce225f7a1c852fbece32f7439c /lib/kross/python/cxx/Extensions.hxx
parentcbc61659188f9036f0efb5aaf95c6bf7cb558b17 (diff)
downloadkoffice-f3e216f001d6fb6af75f9728930bddf3da59cccf.tar.gz
koffice-f3e216f001d6fb6af75f9728930bddf3da59cccf.zip
Switch from strstream to sstream.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7a7c17092fcdd4772fb6e499ef13429f96ac04bb)
Diffstat (limited to 'lib/kross/python/cxx/Extensions.hxx')
-rw-r--r--lib/kross/python/cxx/Extensions.hxx10
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: