summaryrefslogtreecommitdiff
path: root/cpp/test/include/TestCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/include/TestCommon.h')
-rw-r--r--cpp/test/include/TestCommon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/test/include/TestCommon.h b/cpp/test/include/TestCommon.h
index eb622197fa8..7ec0469f25b 100644
--- a/cpp/test/include/TestCommon.h
+++ b/cpp/test/include/TestCommon.h
@@ -150,9 +150,11 @@ public:
{
}
- virtual ~TestFailedException() ICE_NOEXCEPT
+#ifndef ICE_CPP11_COMPILER
+ virtual ~TestFailedException() throw()
{
}
+#endif
virtual ::std::string ice_id() const
{