fixed warnings for msvc build

This commit is contained in:
arkpar
2015-01-13 11:18:08 +01:00
parent 24a2335c01
commit 80eec8b308
6 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -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;