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 /Utils.h | |
parent | 24a2335c01fa2d0baeda97b795a9bf8b05b6529d (diff) | |
download | dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.gz dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.tar.zst dexon-solidity-80eec8b308e8af3b742e3da47ded927e4e4b388d.zip |
fixed warnings for msvc build
Diffstat (limited to 'Utils.h')
-rwxr-xr-x[-rw-r--r--] | Utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -45,5 +45,11 @@ inline void solAssertAux(bool _condition, std::string const& _errorDescription, << ::boost::throw_line(_line)); } +inline void solAssertAux(void const* _pointer, std::string const& _errorDescription, unsigned _line, + char const* _file, char const* _function) +{ + solAssertAux(_pointer != nullptr, _errorDescription, _line, _file, _function); +} + } } |