From 0edef6eda44f0f95a98b841792c1b3af9e4a9bf9 Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Thu, 8 Apr 2021 12:29:36 +0200 Subject: [PATCH] Use more efficient overload with character Signed-off-by: Thomas Lauf --- src/Rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rules.cpp b/src/Rules.cpp index 5341cccb..eb99fc81 100644 --- a/src/Rules.cpp +++ b/src/Rules.cpp @@ -466,7 +466,7 @@ void Rules::parseRuleSettings ( //////////////////////////////////////////////////////////////////////////////// unsigned int Rules::getIndentation (const std::string& line) { - auto indent = line.find_first_not_of (" "); + auto indent = line.find_first_not_of (' '); if (indent == std::string::npos) indent = 0;