Skip to content

Commit a680ca3

Browse files
committed
Exclude clang-cl from msvc workaround
1 parent 0d565ea commit a680ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/algorithm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
#define _SCL_SECURE_NO_WARNINGS
2424
#endif
2525

26-
#ifdef _MSC_VER
26+
#if defined(_MSC_VER) && !defined(__clang__)
2727
// counting_iterator generates a warning about truncating an integer
2828
#pragma warning(push)
2929
#pragma warning(disable : 4244)
3030
#endif
3131
#include <boost/iterator/counting_iterator.hpp>
32-
#ifdef _MSC_VER
32+
#if defined(_MSC_VER) && !defined(__clang__)
3333
template ::boost::counting_iterator<int>;
3434
#pragma warning(pop)
3535
#endif

0 commit comments

Comments
 (0)