From 6e9e800e53eca081d7b20a8852f633f0984c58ab Mon Sep 17 00:00:00 2001 From: Logan Johnson Date: Fri, 7 Mar 2003 18:30:06 +0000 Subject: [PATCH] Changed the class name from Object to SomeClass in the constructor_exception.i test case. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4467 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/constructor_exception.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SWIG/Examples/test-suite/constructor_exception.i b/SWIG/Examples/test-suite/constructor_exception.i index 9904e4e1e..efde1c1b0 100644 --- a/SWIG/Examples/test-suite/constructor_exception.i +++ b/SWIG/Examples/test-suite/constructor_exception.i @@ -4,9 +4,9 @@ class Error { }; -class Object { +class SomeClass { public: - Object(int x) { + SomeClass(int x) { if (x < 0) { throw Error(); } @@ -14,7 +14,7 @@ public: }; class Test { - Object o; + SomeClass o; public: Test(int x) try : o(x) { } catch (Error &e) {