ParseExpression: return a std::pair
This commit is contained in:
1 parent
030dc11c6e
commit
d2821e14fa
3 files changed
+22
-26
No files matched your search
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface
|
||||
@@ -66,6 +67,6 @@ enum class ParseStatus
|
||||
NoDevice,
|
||||
};
|
||||
|
||||
ParseStatus ParseExpression(const std::string& expr, ControlFinder& finder, Expression** expr_out);
|
||||
std::pair<ParseStatus, Expression*> ParseExpression(const std::string& expr, ControlFinder& finder);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user