diff --git a/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.cpp b/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.cpp index be46c1fc53..8c1a0957ea 100644 --- a/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.cpp +++ b/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.cpp @@ -42,6 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include "pfConsoleParser.h" +#include + #include "pfConsoleCmd.h" static const char kTokenSeparators[] = " =\r\n\t,"; @@ -117,7 +119,7 @@ std::optional pfConsoleTokenizer::NextArgument() return begin; } -std::pair> pfConsoleParser::ParseGroupAndName() +std::tuple> pfConsoleParser::ParseGroupAndName() { pfConsoleCmdGroup* group = pfConsoleCmdGroup::GetBaseGroup(); auto token = fTokenizer.NextNamePart(); diff --git a/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.h b/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.h index 33acebbea0..8a8680ee20 100644 --- a/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.h +++ b/Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleParser.h @@ -47,7 +47,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include #include -#include +#include #include class pfConsoleCmd; @@ -91,7 +91,7 @@ class pfConsoleParser // until a token is encountered that isn't a known group name. // Returns the found group and the first non-group token // (which may be an empty std::optional if the end of the line was reached). - std::pair> ParseGroupAndName(); + std::tuple> ParseGroupAndName(); // Parse the command name part of the line. // Returns the command corresponding to that name,