Merge pull request #2723 from JohanMabille/warnings

Fixed warnings
This commit is contained in:
Andy Soffer 2020-03-03 09:44:53 -05:00 committed by GitHub
commit 6a7ed316a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}