Skip to content

Commit 56554af

Browse files
committed
Ignore internal MSVC warning
1 parent b5d3092 commit 56554af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/format.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
// Distributed under the Boost Software License, Version 1.0.
33
// https://www.boost.org/LICENSE_1_0.txt
44

5+
// MSVC 14.3 has a conversion error in <algorithm> so we need to try and supress that everywhere
6+
#ifdef _MSC_VER
7+
# pragma warning(push)
8+
# pragma warning(disable : 4244)
9+
#endif
10+
511
#include <boost/decimal.hpp>
612
#include <iostream>
713

0 commit comments

Comments
 (0)