aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r--CompilerStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp
index 174f9cd2..904c77c5 100644
--- a/CompilerStack.cpp
+++ b/CompilerStack.cpp
@@ -39,7 +39,7 @@ namespace solidity
bool CompilerStack::addSource(string const& _name, string const& _content)
{
- bool existed = m_sources.count(_name);
+ bool existed = m_sources.count(_name) != 0;
reset(true);
m_sources[_name].scanner = make_shared<Scanner>(CharStream(_content), _name);
return existed;