Renamed method to »logWarning.«

This commit is contained in:
2016-06-14 15:12:45 +02:00
parent 9679706a08
commit 57e9de6b05
9 changed files with 8 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ std::unique_ptr<Derived> NAry<Derived>::parse(Context &context,
}
if (expression->m_arguments.empty())
context.logger.parserWarning(context.parser, "" + Derived::Identifier + "” expressions should not be empty");
context.logger.logWarning(context.parser, "" + Derived::Identifier + "” expressions should not be empty");
parser.expect<std::string>(")");

View File

@@ -40,7 +40,7 @@ class Logger
void logError(const std::string &message);
void logError(const Parser::Coordinate &coordinate, const std::string &message);
void parserWarning(const Parser &parser, const std::string &message);
void logWarning(const Parser &parser, const std::string &message);
private:
WarningLevel m_warningLevel;