From 02111e49610dfadae47c79eb1cb07bf935f2d944 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 9 Nov 2019 21:22:06 +0100 Subject: Fix clang-tidy and lint travis checks --- src/client/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3