aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/cpp11_noexcept.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-10 21:03:33 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-10 21:50:35 +0100
commit5a282f3ac372c286981901b8f779ddb1d71bf688 (patch)
treebedee71b5dd2946f4fdce7f913c60d5b51a5f7ea /Examples/test-suite/cpp11_noexcept.i
parent9244621827a6c3d0dc5e532a2deda7e031bfc266 (diff)
downloadswig-5a282f3ac372c286981901b8f779ddb1d71bf688.tar.gz
c++11 test case fixes
Diffstat (limited to 'Examples/test-suite/cpp11_noexcept.i')
-rw-r--r--Examples/test-suite/cpp11_noexcept.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/cpp11_noexcept.i b/Examples/test-suite/cpp11_noexcept.i
index 6fed5b8df..ef96fd8a7 100644
--- a/Examples/test-suite/cpp11_noexcept.i
+++ b/Examples/test-suite/cpp11_noexcept.i
@@ -13,7 +13,7 @@ struct NoExceptClass {
NoExceptClass() noexcept {}
NoExceptClass(const NoExceptClass&) noexcept {}
NoExceptClass(NoExceptClass&&) noexcept {}
- NoExceptClass& operator=(const NoExceptClass&) noexcept {}
+ NoExceptClass& operator=(const NoExceptClass&) noexcept { return *this; }
~NoExceptClass() noexcept {}
void noex0() noexcept {}