CmdCalc: 'auto infix{true}' doesn't compile

This commit is contained in:
Paul Beckingham 2017-02-05 14:28:40 +01:00
parent 77077fb5f4
commit a598dc4d3f

View file

@ -54,7 +54,7 @@ CmdCalc::CmdCalc ()
int CmdCalc::execute (std::string& output)
{
// Configurable infix/postfix
auto infix {true};
bool infix {true};
if (context.config.get ("expressions") == "postfix")
infix = false;