diff options
author | sfan5 <sfan5@live.de> | 2019-11-09 21:22:06 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-11-11 14:06:48 +0100 |
commit | 02111e49610dfadae47c79eb1cb07bf935f2d944 (patch) | |
tree | 53b9a4f11c0effce1ff21490d3065f25d03f013d /src | |
parent | c44318a253783dde37e3bb688e29927da3b4cac0 (diff) | |
download | minetest-02111e49610dfadae47c79eb1cb07bf935f2d944.tar.gz minetest-02111e49610dfadae47c79eb1cb07bf935f2d944.tar.bz2 minetest-02111e49610dfadae47c79eb1cb07bf935f2d944.zip |
Fix clang-tidy and lint travis checks
Diffstat (limited to 'src')
-rw-r--r-- | src/client/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index 36d4f8df9..5d4793c8a 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -1913,7 +1913,7 @@ const std::string* Client::getModFile(std::string filename) if (pos == std::string::npos) return nullptr; pos++; - auto pos2 = filename.find_first_not_of("/", pos); + auto pos2 = filename.find_first_not_of('/', pos); if (pos2 > pos) filename.erase(pos, pos2 - pos); |