0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-10 15:46:48 -04:00
bitcoin-core/src/qt/test
fanquake 57e980d13c
scripted-diff: remove Optional & nullopt
-BEGIN VERIFY SCRIPT-
git rm src/optional.h

sed -i -e 's/Optional</std::optional</g' $(git grep -l 'Optional<' src)

sed -i -e 's/{nullopt}/{std::nullopt}/g' $(git grep -l 'nullopt' src)
sed -i -e 's/ nullopt;/ std::nullopt;/g' $(git grep -l 'nullopt' src)
sed -i -e 's/ nullopt)/ std::nullopt)/g' $(git grep -l 'nullopt' src)
sed -i -e 's/(nullopt)/(std::nullopt)/g' $(git grep -l 'nullopt' src)
sed -i -e 's/ nullopt,/ std::nullopt,/g' $(git grep -l 'nullopt' src)
sed -i -e 's/? nullopt :/? std::nullopt :/g' $(git grep -l 'nullopt' src)
sed -i -e 's/: nullopt}/: std::nullopt}/g' $(git grep -l 'nullopt' src)

sed -i -e '/optional.h \\/d' src/Makefile.am

sed -i -e '/#include <optional.h>/d' src/test/fuzz/autofile.cpp src/test/fuzz/buffered_file.cpp src/test/fuzz/node_eviction.cpp

sed -i -e 's/#include <optional.h>/#include <optional>/g' $(git grep -l '#include <optional.h>' src)
-END VERIFY SCRIPT-
2021-03-15 10:41:30 +08:00
..
addressbooktests.cpp scripted-diff: remove Optional & nullopt 2021-03-15 10:41:30 +08:00
addressbooktests.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
apptests.cpp validation: Pass in chainman to UnloadBlockIndex 2020-09-15 14:11:34 -04:00
apptests.h scripted-diff: Bump copyright headers 2020-04-16 13:33:09 -04:00
compattests.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
compattests.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
Makefile build: add stub makefiles for easier subdir builds 2014-06-05 16:05:43 -04:00
rpcnestedtests.cpp rpc: Remove duplicate name and argNames from CRPCCommand 2021-01-28 08:19:52 +01:00
rpcnestedtests.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
test_main.cpp qt test: Don't bind to regtest port 2021-03-06 15:19:08 -05:00
uritests.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
uritests.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
util.cpp scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
util.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
wallettests.cpp scripted-diff: remove Optional & nullopt 2021-03-15 10:41:30 +08:00
wallettests.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00