mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
test/libsolidity/util/ContractABIUtils.cpp: use std::bind.
This commit is contained in:
parent
5c6633f975
commit
ae6710f4e7
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include <boost/algorithm/string.hpp>
|
#include <boost/algorithm/string.hpp>
|
||||||
#include <boost/assign/list_of.hpp>
|
#include <boost/assign/list_of.hpp>
|
||||||
#include <boost/bind.hpp>
|
|
||||||
#include <boost/range/algorithm_ext/for_each.hpp>
|
#include <boost/range/algorithm_ext/for_each.hpp>
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
@ -262,10 +261,11 @@ void ContractABIUtils::overwriteParameters(
|
|||||||
solidity::frontend::test::ParameterList const& _sourceParameters
|
solidity::frontend::test::ParameterList const& _sourceParameters
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
using namespace placeholders;
|
||||||
boost::for_each(
|
boost::for_each(
|
||||||
_sourceParameters,
|
_sourceParameters,
|
||||||
_targetParameters,
|
_targetParameters,
|
||||||
boost::bind<void>(
|
std::bind<void>(
|
||||||
[&](Parameter _a, Parameter& _b) -> void
|
[&](Parameter _a, Parameter& _b) -> void
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user