Merge pull request #57 from LanderN/fix-windows-clang

fix clang-cl build on windows
This commit is contained in:
Arun Muralidharan 2019-12-09 15:39:01 +05:30 committed by GitHub
commit 534e72b326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
// To hack around Visual Studio error:
// error C3431: 'algorithm': a scoped enumeration cannot be redeclared as an unscoped enumeration
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
#define SCOPED_ENUM enum class
#else
#define SCOPED_ENUM enum