astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-07-25 07:44:06 +02:00
parent d300d1f61b
commit f9a5a114bb
3 changed files with 114 additions and 113 deletions

View File

@ -1354,7 +1354,8 @@ static std::size_t estimateSize(const Type* type, const Settings* settings, cons
static bool canBeConst(const Variable *var)
{
{ // check initializer list. If variable is moved from it can't be const.
{
// check initializer list. If variable is moved from it can't be const.
const Function* func_scope = var->scope()->function;
if (func_scope->type == Function::Type::eConstructor) {
//could be initialized in initializer list