From 3805cd93ebc33ee4496f4f2ad3512ac0e8dea546 Mon Sep 17 00:00:00 2001 From: firewave Date: Fri, 25 Mar 2022 11:07:47 +0100 Subject: [PATCH 1/2] smallvector.h: fixed noExplicitConstructor warning --- lib/smallvector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smallvector.h b/lib/smallvector.h index acdba2562c1..49d0c7be112 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)...) {} }; From 439b2f756a7c0b952ab41a0f91a0155d13b33d32 Mon Sep 17 00:00:00 2001 From: firewave Date: Fri, 25 Mar 2022 11:22:53 +0100 Subject: [PATCH 2/2] cli.vcxproj: use `stdcpp14` in `*-PCRE` configurations --- cli/cli.vcxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/cli.vcxproj b/cli/cli.vcxproj index 8646760bce5..7f12fcce54d 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)