summaryrefslogtreecommitdiff
path: root/include/exception.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-26 10:12:38 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-26 10:12:38 +0100
commite363d36a55e74d12aeef28b2a4b1f3ba074495fd (patch)
tree29c8eee83ee64edfdf904a55399cf67f0d407078 /include/exception.h
parent30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (diff)
parent47855f1c68a282903a8db470697915bd419ec17c (diff)
Merge pull request #165 from atvise/redefine_noexept
Added macro wrapper for noexcept
Diffstat (limited to 'include/exception.h')
-rw-r--r--include/exception.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/exception.h b/include/exception.h
index 94aaa85..15e92bc 100644
--- a/include/exception.h
+++ b/include/exception.h
@@ -52,11 +52,7 @@ public:
* Overridden what method
* @return const char *
*/
-#ifdef _NOEXCEPT
virtual const char *what() const _NOEXCEPT override
-#else
- virtual const char *what() const noexcept override
-#endif
{
return _message.c_str();
}