diff options
author | Johan Mabille <johan.mabille@gmail.com> | 2020-02-21 10:55:07 (GMT) |
---|---|---|
committer | Johan Mabille <johan.mabille@gmail.com> | 2020-02-21 10:55:07 (GMT) |
commit | 04e52ebe78166f0eb602dfc35817f91cc575cbfb (patch) | |
tree | 1eb3292e40e7a14ab416cb53ccb12f25607e8525 | |
parent | 703bd9caab50b139428cea1aaff9974ebee5742e (diff) | |
download | googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.zip googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.tar.gz googletest-04e52ebe78166f0eb602dfc35817f91cc575cbfb.tar.bz2 |
Fixed warningsrefs/pull/2723/headrefs/pull/2722/head
-rw-r--r-- | googletest/src/gtest.cc | 2 |
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); } |