]> git.ipfire.org Git - thirdparty/ccache.git/commit
Convert nonstd::string_view to std::string using constructor
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 20 Jul 2021 05:14:46 +0000 (07:14 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 20 Jul 2021 17:43:01 +0000 (19:43 +0200)
commit363426d04b20c8b732172aee5de2f0aaf396826a
tree8cb0ebe6f0f151a1a59cbef95642a093e0da8d35
parentce7c2cc33d118931cf59ae9cd8a7436f704668e7
Convert nonstd::string_view to std::string using constructor

to_string doesn’t exist in the std::string_view form, so use the
std::string constructor to make a future conversion to newer C++
versions easier.
src/storage/Storage.cpp
src/storage/secondary/HttpStorage.cpp
src/storage/secondary/RedisStorage.cpp
src/util/path.cpp