From 97744479d7bbf5f9bc209d9505f1daddc549e336 Mon Sep 17 00:00:00 2001 From: Adam Fonseca Date: Wed, 10 Jul 2024 12:28:47 -0700 Subject: [PATCH] Fix build for mac and windows --- MODULE.bazel.lock | 2 +- test/test_Vector.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 06e0c7a..35ed6e5 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -103,7 +103,7 @@ }, "@@ewdk_cc_toolchain~//:ewdk_extension.bzl%toolchains": { "general": { - "bzlTransitiveDigest": "o8jWc/DKL6u/xdGVR7ZVOsdvrJWHczkHwS5vnpdr1b8=", + "bzlTransitiveDigest": "9JDci1UBSQRcNgV8CaGaG7lk1+ZmfO4FF//420jL10w=", "usagesDigest": "KWfyUyVJ/UQYtoURvUEdG5qx0XigX4CN/NfpTe9J3Ns=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, diff --git a/test/test_Vector.cpp b/test/test_Vector.cpp index ab855e8..97b84a3 100644 --- a/test/test_Vector.cpp +++ b/test/test_Vector.cpp @@ -217,6 +217,8 @@ class VecTesterBase static int s_throwCount; }; +template <> +int VecTesterBase::s_throwCount = -1; template <> int VecTesterBase::s_throwCount = -1; @@ -1948,7 +1950,7 @@ REGISTER_TYPED_TEST_SUITE_P(NonTrivialStruct, using Types = testing::Types; -INSTANTIATE_TYPED_TEST_SUITE_P(TestVector, NonTrivialStruct, Types); +INSTANTIATE_TYPED_TEST_SUITE_P(TestVector, NonTrivialStruct, Types, ); struct VecTestStruct {