Skip to content

Commit 4cafca6

Browse files
committed
Fixed Autodetect C++14
1 parent c36b111 commit 4cafca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

safe_ptr.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <algorithm>
2121

2222
// Autodetect C++14
23-
#if _cplusplus >= 201402L
23+
#if (__cplusplus >= 201402L || _MSC_VER >= 1900)
2424
#define SHARED_MTX
2525
#include <shared_mutex>
2626
#endif

0 commit comments

Comments
 (0)