Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorArtyom Polkovnikov <artyom.polkovnikov@gmail.com>2014-12-30 20:17:17 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:35:54 +0300
commitd6e005c1fb3c6b369482aaadb9aea78982869c7c (patch)
tree48012118034bd8a3ae1dd473938e1e53cc1f2121 /std
parentac80186f7db8cee3dd7b1772f8eddfbd7f808258 (diff)
[std] Replace all instances of noexcept with conditional macro, disable noexcept in MSVC <= 2013.
Diffstat (limited to 'std')
-rw-r--r--std/noexcept.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/std/noexcept.hpp b/std/noexcept.hpp
new file mode 100644
index 0000000000..99ae2fc068
--- /dev/null
+++ b/std/noexcept.hpp
@@ -0,0 +1,7 @@
+#pragma once
+
+#if defined(_MSC_VER) && (_MSC_VER <= 1800)
+ #define NOEXCEPT_MODIFIER
+#else
+ #define NOEXCEPT_MODIFIER noexcept
+#endif