aboutsummaryrefslogtreecommitdiffstats
path: root/Utils.h
diff options
context:
space:
mode:
authorarkpar <arkady.paronyan@gmail.com>2015-01-13 18:18:08 +0800
committerarkpar <arkady.paronyan@gmail.com>2015-01-13 18:18:08 +0800
commit80eec8b308e8af3b742e3da47ded927e4e4b388d (patch)
treedb9bf42fd469fc4ee5707ddf374d8dc28e61bbc5 /Utils.h
parent24a2335c01fa2d0baeda97b795a9bf8b05b6529d (diff)
downloaddexon-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utils.h b/Utils.h
index 8d6a3ab0..1411f66b 100644..100755
--- a/Utils.h
+++ b/Utils.h
@@ -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);
+}
+
}
}