summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-11-09 21:22:06 +0100
committersfan5 <sfan5@live.de>2019-11-11 14:06:48 +0100
commit02111e49610dfadae47c79eb1cb07bf935f2d944 (patch)
tree53b9a4f11c0effce1ff21490d3065f25d03f013d /src
parentc44318a253783dde37e3bb688e29927da3b4cac0 (diff)
downloadminetest-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.cpp2
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);