summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2020-11-13 17:22:39 -0800
committerVinson Lee <vlee@freedesktop.org>2020-11-13 17:23:11 -0800
commit341429be36529343d3672a03f495fff499e561e1 (patch)
tree5b3cced9d89af0aeb26f678093b9c885918d32b4
parent9dce5e5d878176dc0054ef381f5c6e705f43ef99 (diff)
downloadgoogletest-git-341429be36529343d3672a03f495fff499e561e1.tar.gz
Initialize TestInfo member is_in_another_shard_ in constructor.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
-rw-r--r--googletest/src/gtest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index 33f517e0..4b34ac57 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -2724,6 +2724,7 @@ TestInfo::TestInfo(const std::string& a_test_suite_name,
should_run_(false),
is_disabled_(false),
matches_filter_(false),
+ is_in_another_shard_(false),
factory_(factory),
result_() {}