diff options
author | arkpar <arkady.paronyan@gmail.com> | 2015-01-13 18:18:08 +0800 |
---|---|---|
committer | arkpar <arkady.paronyan@gmail.com> | 2015-01-13 18:18:08 +0800 |
commit | 80eec8b308e8af3b742e3da47ded927e4e4b388d (patch) | |
tree | db9bf42fd469fc4ee5707ddf374d8dc28e61bbc5 /CompilerStack.cpp | |
parent | 24a2335c01fa2d0baeda97b795a9bf8b05b6529d (diff) | |
download | dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.gz dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.bz2 dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.lz dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.xz dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.zst dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.zip |
fixed warnings for msvc build
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r-- | CompilerStack.cpp | 2 |
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; |