summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Mabille <johan.mabille@gmail.com>2020-02-21 10:55:07 (GMT)
committerJohan Mabille <johan.mabille@gmail.com>2020-02-21 10:55:07 (GMT)
commit04e52ebe78166f0eb602dfc35817f91cc575cbfb (patch)
tree1eb3292e40e7a14ab416cb53ccb12f25607e8525
parent703bd9caab50b139428cea1aaff9974ebee5742e (diff)
downloadgoogletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.zip
googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.tar.gz
googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.tar.bz2
-rw-r--r--googletest/src/gtest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index a5b4e5a..69f25e6 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -2108,7 +2108,7 @@ static const char* const kReservedOutputTestCaseAttributes[] = {
"classname", "name", "status", "time", "type_param",
"value_param", "file", "line", "result", "timestamp"};
-template <int kSize>
+template <size_t kSize>
std::vector<std::string> ArrayAsVector(const char* const (&array)[kSize]) {
return std::vector<std::string>(array, array + kSize);
}