diff --git a/cli/cli.vcxproj b/cli/cli.vcxproj index 8646760bc..7f12fcce5 100644 --- a/cli/cli.vcxproj +++ b/cli/cli.vcxproj @@ -194,7 +194,7 @@ 4018;4127;4146;4244;4251;4267;4389;4482;4512;4701;4706;4800;4805 true true - stdcpplatest + stdcpp14 /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions) @@ -245,7 +245,7 @@ 4018;4127;4146;4244;4251;4267;4389;4482;4512;4701;4706;4800;4805 true true - stdcpplatest + stdcpp14 /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions) @@ -312,7 +312,7 @@ true /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions) true - stdcpplatest + stdcpp14 shlwapi.lib;%(AdditionalDependencies) @@ -383,7 +383,7 @@ true /Zc:throwingNew /Zc:__cplusplus %(AdditionalOptions) true - stdcpplatest + stdcpp14 shlwapi.lib;%(AdditionalDependencies) diff --git a/lib/smallvector.h b/lib/smallvector.h index acdba2562..49d0c7be1 100644 --- a/lib/smallvector.h +++ b/lib/smallvector.h @@ -35,7 +35,7 @@ template struct TaggedAllocator : std::allocator { template - TaggedAllocator(Ts&&... ts) + explicit TaggedAllocator(Ts&&... ts) : std::allocator(std::forward(ts)...) {} };