mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
@@ -22,7 +22,6 @@
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
#include <cctype>
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
#include <cctype>
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
||||
@@ -86,7 +86,7 @@ void testConstantOptimizer()
|
||||
|
||||
void runCompiler(string input)
|
||||
{
|
||||
string outputString(compileStandard(input.c_str(), NULL));
|
||||
string outputString(compileStandard(input.c_str(), nullptr));
|
||||
Json::Value output;
|
||||
if (!jsonParseStrict(outputString, output))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user