Skip to content

Commit c040704

Browse files
committed
Remove silencing of non-existent warnings
1 parent 84a20db commit c040704

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/nonstd/optional.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@
5959
# define optional_COMPILER_GNUC_VERSION 0
6060
#endif
6161

62-
#if optional_BETWEEN(optional_COMPILER_MSVC_VERSION, 7, 14 )
63-
# pragma warning( push )
64-
# pragma warning( disable: 4345 ) // initialization behavior changed
65-
#endif
66-
67-
#if optional_BETWEEN(optional_COMPILER_MSVC_VERSION, 7, 15 )
68-
# pragma warning( push )
69-
# pragma warning( disable: 4814 ) // in C++14 'constexpr' will not imply 'const'
70-
#endif
71-
7262
// Presence of C++11 language features:
7363

7464
#if optional_CPP11_OR_GREATER || optional_COMPILER_MSVC_VERSION >= 10

0 commit comments

Comments
 (0)