CmdCalc: 'auto infix{true}' doesn't compile
This commit is contained in:
@@ -54,7 +54,7 @@ CmdCalc::CmdCalc ()
|
|||||||
int CmdCalc::execute (std::string& output)
|
int CmdCalc::execute (std::string& output)
|
||||||
{
|
{
|
||||||
// Configurable infix/postfix
|
// Configurable infix/postfix
|
||||||
auto infix {true};
|
bool infix {true};
|
||||||
if (context.config.get ("expressions") == "postfix")
|
if (context.config.get ("expressions") == "postfix")
|
||||||
infix = false;
|
infix = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user