From fa9af218780b7960d756db80c57222e5bf2137b1 Mon Sep 17 00:00:00 2001 From: MacroFake Date: Fri, 13 May 2022 12:32:59 +0200 Subject: scripted-diff: Use getInt over get_int/get_int64 -BEGIN VERIFY SCRIPT- sed -i 's|\|getInt|g' $(git grep -l get_int ':(exclude)src/univalue') sed -i 's|\|getInt|g' $(git grep -l get_int ':(exclude)src/univalue') -END VERIFY SCRIPT- --- src/util/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/settings.h') diff --git a/src/util/settings.h b/src/util/settings.h index ed36349232..261a0a032f 100644 --- a/src/util/settings.h +++ b/src/util/settings.h @@ -20,7 +20,7 @@ namespace util { //! @note UniValue is used here for convenience and because it can be easily //! serialized in a readable format. But any other variant type that can //! be assigned strings, int64_t, and bool values and has get_str(), -//! get_int64(), get_bool(), isNum(), isBool(), isFalse(), isTrue() and +//! getInt(), get_bool(), isNum(), isBool(), isFalse(), isTrue() and //! isNull() methods can be substituted if there's a need to move away //! from UniValue. (An implementation with boost::variant was posted at //! https://github.com/bitcoin/bitcoin/pull/15934/files#r337691812) -- cgit v1.2.3