diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-01 17:25:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-01 17:25:14 +0300 |
commit | 4944b595da0d394e4c33aebdbcbdf1de48c6c0ae (patch) | |
tree | 38672d5441125e55b4c356c59e6d0b8b50a7d5f8 /src/parsers/decl/var_decl.cpp | |
parent | 7f592b396ad169e4332d52ec37ec367c789a24b7 (diff) | |
download | paranucker-4944b595da0d394e4c33aebdbcbdf1de48c6c0ae.tar.gz paranucker-4944b595da0d394e4c33aebdbcbdf1de48c6c0ae.tar.bz2 paranucker-4944b595da0d394e4c33aebdbcbdf1de48c6c0ae.tar.xz paranucker-4944b595da0d394e4c33aebdbcbdf1de48c6c0ae.zip |
Add macroses isIn and IsNotIn.
Diffstat (limited to 'src/parsers/decl/var_decl.cpp')
-rw-r--r-- | src/parsers/decl/var_decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parsers/decl/var_decl.cpp b/src/parsers/decl/var_decl.cpp index 5bf6925..d0c4af9 100644 --- a/src/parsers/decl/var_decl.cpp +++ b/src/parsers/decl/var_decl.cpp @@ -45,7 +45,7 @@ void parseVarDeclNode(VarDeclNode *node) fillDeclAutoGenerated(node); - if (foundNodesMap.find(node->gccNode) != foundNodesMap.end()) + if (isIn(node->gccNode, foundNodesMap)) { VarDeclNode *const oldNode = static_cast<VarDeclNode*>( foundNodesMap[node->gccNode]); |