diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2014-03-14 23:26:23 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2014-03-14 23:26:23 +0000 |
commit | 8f967f334179ce1234419f244a8200528e3121da (patch) | |
tree | 253d07af1d65039d5f3e017f609f06eb5b68a877 | |
parent | 2471e3fc3a9a20d29ddd394744a1614b69eee800 (diff) | |
download | swig-8f967f334179ce1234419f244a8200528e3121da.tar.gz |
Add missing return for testcase
-rw-r--r-- | Examples/test-suite/java_director_exception_feature.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/java_director_exception_feature.i b/Examples/test-suite/java_director_exception_feature.i index 1552454dc..a92193f1d 100644 --- a/Examples/test-suite/java_director_exception_feature.i +++ b/Examples/test-suite/java_director_exception_feature.i @@ -180,7 +180,7 @@ public: virtual std::string ping(int excp) throw(int,MyNS::Exception2) = 0; virtual std::string pong(int excp) /* throws MyNS::Exception1 MyNS::Exception2 MyNS::Unexpected) */ = 0; virtual std::string genericpong(int excp) /* unspecified throws - exception is always DirectorException in C++, translated back to whatever thrown in java */ = 0; - virtual std::string directorthrows_warning(int excp) throw(double) {} + virtual std::string directorthrows_warning(int excp) throw(double) { return std::string(); } }; // Make a bar from a foo, so a call to Java Bar |