aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-28 11:03:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-28 11:03:03 -0700
commitd3ff354398507044b3df7aa81396a2d1b2dc8790 (patch)
tree92a903040bbd81661cf765cd353667bc8f0e0c69
parentcbca833807d31acbe643898f32a0ca6b3de1c5a8 (diff)
implement ~exception in header, to make std::exception usable; fixes #1198
-rw-r--r--system/include/libcxx/exception2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libcxx/exception b/system/include/libcxx/exception
index 37bfc57e..4b5770b7 100644
--- a/system/include/libcxx/exception
+++ b/system/include/libcxx/exception
@@ -91,7 +91,7 @@ class _LIBCPP_EXCEPTION_ABI exception
{
public:
_LIBCPP_INLINE_VISIBILITY exception() _NOEXCEPT {}
- virtual ~exception() _NOEXCEPT;
+ virtual ~exception() _NOEXCEPT {}; // XXX EMSCRIPTEN inline in destructor
virtual const char* what() const _NOEXCEPT;
};