diff options
author | dominic <510002+dmah42@users.noreply.github.com> | 2023-03-14 13:10:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 13:10:27 +0000 |
commit | 46d3c84518ee71e36fa42c50b1fe3758a45d1d3b (patch) | |
tree | cb7a86325132efe1dfad0e3517bae4cccf94bf9f /test/skip_with_error_test.cc | |
parent | 68aa1903b18f6967a608f3584db3eac28a4f883c (diff) | |
download | google-benchmark-46d3c84518ee71e36fa42c50b1fe3758a45d1d3b.tar.gz |
Convert uses of `const char*` to `std::string` (#1567)
* Convert uses of const char* to std::string
* fix sanitizer builds
* reformat user guide
* include python bindings
* clang-format
Diffstat (limited to 'test/skip_with_error_test.cc')
-rw-r--r-- | test/skip_with_error_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/skip_with_error_test.cc b/test/skip_with_error_test.cc index 2dd222a..b4c5e15 100644 --- a/test/skip_with_error_test.cc +++ b/test/skip_with_error_test.cc @@ -48,7 +48,8 @@ struct TestCase { std::vector<TestCase> ExpectedResults; -int AddCases(const char* base_name, std::initializer_list<TestCase> const& v) { +int AddCases(const std::string& base_name, + std::initializer_list<TestCase> const& v) { for (auto TC : v) { TC.name = base_name + TC.name; ExpectedResults.push_back(std::move(TC)); |