aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-03-09 20:28:25 +0800
committerchriseth <c@ethdev.com>2015-03-09 20:28:29 +0800
commitcd8a0ab65d387cd88f3062f937a456b7c0e33b5c (patch)
treec230463eec25c83a63b2a849b7939b16007e511e /CompilerContext.h
parent94c51caf89a86e29dab21141d76eae0c73292b01 (diff)
downloaddexon-solidity-cd8a0ab65d387cd88f3062f937a456b7c0e33b5c.tar.gz
dexon-solidity-cd8a0ab65d387cd88f3062f937a456b7c0e33b5c.tar.zst
dexon-solidity-cd8a0ab65d387cd88f3062f937a456b7c0e33b5c.zip
Style fixes.
Diffstat (limited to 'CompilerContext.h')
-rw-r--r--CompilerContext.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/CompilerContext.h b/CompilerContext.h
index 3f31a160..4d63d8ba 100644
--- a/CompilerContext.h
+++ b/CompilerContext.h
@@ -131,8 +131,7 @@ public:
{
public:
LocationSetter(CompilerContext& _compilerContext, ASTNode const& _node):
- ScopeGuard([&]{ _compilerContext.popVisitedNodes(); })
- { _compilerContext.pushVisitedNodes(&_node); }
+ ScopeGuard([&]{ _compilerContext.popVisitedNodes(); }) { _compilerContext.pushVisitedNodes(&_node); }
};
private: