Refactor: Combine bool and function pointer.

This commit is contained in:
chriseth
2017-05-03 11:26:21 +02:00
parent a6faa5acf3
commit e0266b79f3
2 changed files with 8 additions and 10 deletions
+1 -2
View File
@@ -76,8 +76,7 @@ private:
std::map<VariableDeclaration const*, int> m_localVarUseCount;
const FunctionDefinition *m_currentFunction;
bool m_inFunction = false;
FunctionDefinition const* m_currentFunction = nullptr;
};
}