Page MenuHomePhabricator

scripted-diff: Replace boost::bind with std::bind
ClosedPublic

Authored by deadalnix on Sep 22 2019, 11:34.

Details

Summary

-BEGIN VERIFY SCRIPT-
for j in $(seq 1 5)
do

sed -i "s/ _${j}/ std::placeholders::_${j}/g" $(git grep --name-only " _${j}" -- '*.cpp' '*.h')

done
sed -i "s/boost::bind/std::bind/g" $(git grep --name-only boost::bind -- '*.cpp' '*.h')
sed -i "s/boost::ref/std::ref/g" $(git grep --name-only boost::ref -- '*.cpp' '*.h')
sed -i '/boost\/bind/d' $(git grep --name-only boost/bind)
-END VERIFY SCRIPT-

This is a remake of Core PR13743 : https://github.com/bitcoin/bitcoin/pull/13743/commits/cb53b825c26af6e628ba88d72b2000e75bedbbc6

Depends on D4132

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr13743
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7545
Build 13130: Bitcoin ABC Buildbot (legacy)
Build 13129: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 23 2019, 08:16