summaryrefslogtreecommitdiff
path: root/include/exception.h
diff options
context:
space:
mode:
authorRoland Eischer <r.eischer@certec.at>2015-01-26 09:23:36 +0100
committerRoland Eischer <r.eischer@certec.at>2015-01-26 09:25:58 +0100
commit47855f1c68a282903a8db470697915bd419ec17c (patch)
tree29c8eee83ee64edfdf904a55399cf67f0d407078 /include/exception.h
parent30eff69a10898dd9b2fb10ed07ae8c68458a5ad2 (diff)
Added macro wrapper for noexcept
- Added macro wrapper for noexcept to support MSVC compiler.
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();
}