From 4f74c59334d496f28e1a5c0d84c412f9020b366f Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Wed, 6 Dec 2023 15:13:39 -0500 Subject: util: Move util/string.h functions to util namespace There are no changes to behavior. Changes in this commit are all additions, and are easiest to review using "git diff -U0 --word-diff-regex=." options. Motivation for this change is to keep util functions with really generic names like "Split" and "Join" out of the global namespace so it is easier to see where these functions are defined, and so they don't interfere with function overloading, especially since the util library is a dependency of the kernel library and intended to be used with external code. --- src/wallet/load.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet/load.cpp') diff --git a/src/wallet/load.cpp b/src/wallet/load.cpp index 8b78a670e4..fe35f6b223 100644 --- a/src/wallet/load.cpp +++ b/src/wallet/load.cpp @@ -21,6 +21,8 @@ #include +using util::Join; + namespace wallet { bool VerifyWallets(WalletContext& context) { -- cgit v1.2.3