From 4ca8b50e45f3ce77f22f209979fd092b89e7d335 Mon Sep 17 00:00:00 2001 From: Torsten Landschoff Date: Wed, 30 May 2012 09:49:42 +0100 Subject: [PATCH] Fix building modpython with swig #174 --- modules/modpython/modpython.i | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/modpython/modpython.i b/modules/modpython/modpython.i index df2cd6a5..db436409 100644 --- a/modules/modpython/modpython.i +++ b/modules/modpython/modpython.i @@ -213,10 +213,10 @@ public: /* Web */ -%template(StrPair) pair; -%template(VPair) vector >; -typedef vector > VPair; -%template(VWebSubPages) vector; +%template(StrPair) std::pair; +%template(VPair) std::vector >; +typedef std::vector > VPair; +%template(VWebSubPages) std::vector; %inline %{ void VPair_Add2Str_(VPair* self, const CString& a, const CString& b) {