aboutsummaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorJohan Mabille <johan.mabille@gmail.com>2020-02-21 11:55:07 +0100
committerJohan Mabille <johan.mabille@gmail.com>2020-02-21 11:55:07 +0100
commit04e52ebe78166f0eb602dfc35817f91cc575cbfb (patch)
tree1eb3292e40e7a14ab416cb53ccb12f25607e8525 /googletest
parent703bd9caab50b139428cea1aaff9974ebee5742e (diff)
downloadgoogletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.tar.gz
googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.tar.bz2
googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.zip
Fixed warnings
Diffstat (limited to 'googletest')
-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 a5b4e5ac..69f25e68 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);
}