aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/Utils/any.h
diff options
context:
space:
mode:
authorTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2017-11-27 21:54:03 +0000
committerTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2017-11-27 21:54:03 +0000
commitb24636bdefe23c26864e2efaaf05e016208af084 (patch)
tree975004f074d1a068c617e081e3f19aecae4295dd /Gem/develop/include/Gem/Utils/any.h
parentc0035706f38fb8e85069ec55b53910b810a59f2c (diff)
Gem ebc50987f9794b71fc512d52b46e5c78d6e9218f linux/amd64
built 'noexcept:ebc50987f9794b71fc512d52b46e5c78d6e9218f' for linux/amd64
Diffstat (limited to 'Gem/develop/include/Gem/Utils/any.h')
-rw-r--r--Gem/develop/include/Gem/Utils/any.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/Gem/develop/include/Gem/Utils/any.h b/Gem/develop/include/Gem/Utils/any.h
index dff11bb..331a797 100644
--- a/Gem/develop/include/Gem/Utils/any.h
+++ b/Gem/develop/include/Gem/Utils/any.h
@@ -34,9 +34,18 @@ namespace gem
bad_any_cast(const std::type_info& src, const std::type_info& dest)
: result(std::string("bad cast (")+src.name() + "->" + dest.name()+")")
{ }
- virtual ~bad_any_cast(void) throw()
+ virtual ~bad_any_cast(void)
+#if __cplusplus <= 199711L
+ throw()
+#endif
{ }
- virtual const char* what(void) const throw() {
+ virtual const char* what(void) const
+#if __cplusplus > 199711L
+ noexcept
+#else
+ throw()
+#endif
+ {
return result.c_str();
}
const std::string result;