diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-10-10 01:06:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-10-10 01:06:39 +0800 |
commit | 9e032bff43b8d2a49e4e2ecae1e98e6823fa5288 (patch) | |
tree | b299c05935786ed880edc8a6c989e18767b3de8a /test/libsolidity | |
parent | e732c49c2f6e1096cb9c20df7ec6c4db77f3a710 (diff) | |
download | dexon-solidity-9e032bff43b8d2a49e4e2ecae1e98e6823fa5288.tar.gz dexon-solidity-9e032bff43b8d2a49e4e2ecae1e98e6823fa5288.tar.zst dexon-solidity-9e032bff43b8d2a49e4e2ecae1e98e6823fa5288.zip |
Use nullptr instead of NULL where appropriate
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/LibSolc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/LibSolc.cpp b/test/libsolidity/LibSolc.cpp index 61e5ebba..94fed7e8 100644 --- a/test/libsolidity/LibSolc.cpp +++ b/test/libsolidity/LibSolc.cpp @@ -52,7 +52,7 @@ Json::Value compileMulti(string const& _input, bool _callback) { string output( _callback ? - compileJSONCallback(_input.c_str(), dev::test::Options::get().optimize, NULL) : + compileJSONCallback(_input.c_str(), dev::test::Options::get().optimize, nullptr) : compileJSONMulti(_input.c_str(), dev::test::Options::get().optimize) ); Json::Value ret; @@ -62,7 +62,7 @@ Json::Value compileMulti(string const& _input, bool _callback) Json::Value compile(string const& _input) { - string output(compileStandard(_input.c_str(), NULL)); + string output(compileStandard(_input.c_str(), nullptr)); Json::Value ret; BOOST_REQUIRE(jsonParseStrict(output, ret)); return ret; |