From 6d7acd2615b8e3a6a3f8b1c5379a192e504e9add Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 13 Mar 2011 00:16:44 +0000 Subject: [PATCH] linker fix for smart_pointer_template_const_overload testcase git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12530 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/smart_pointer_template_const_overload.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Examples/test-suite/smart_pointer_template_const_overload.i b/Examples/test-suite/smart_pointer_template_const_overload.i index be5f08a35..7c890fbcf 100644 --- a/Examples/test-suite/smart_pointer_template_const_overload.i +++ b/Examples/test-suite/smart_pointer_template_const_overload.i @@ -17,9 +17,11 @@ int constmingy() const {} static int thingy() {} static int svariable; - static const int constsvariable = 2; + static const int constsvariable; int normalvariable; }; + int FooImplementation::svariable = 0; + const int FooImplementation::constsvariable = 2; void tester() { SmartPointer p;