aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-util.cpp
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2023-03-06 17:22:33 +0100
committerTheCharlatan <seb.kung@gmail.com>2023-03-13 17:09:47 +0100
commite7333b420e35054d9302f9c58fd47b6152cbd35f (patch)
treeb7dd521363eeedcc4e2f353624facbe8cc679372 /src/bitcoin-util.cpp
parentf7bdcfc83f5753349018be3b5a663c8923d1a5eb (diff)
refactor: Extract util/exception from util/system
This is a minimal extraction of a single function, but also the only use of std::exception in util/system. The background of this commit is an ongoing effort to decouple the libbitcoinkernel library from the ArgsManager defined in system.h. Moving the function out of system.h allows including it from a separate source file without including the ArgsManager definitions from system.h.
Diffstat (limited to 'src/bitcoin-util.cpp')
-rw-r--r--src/bitcoin-util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoin-util.cpp b/src/bitcoin-util.cpp
index 61d4b9c6f1..cf59ca9bff 100644
--- a/src/bitcoin-util.cpp
+++ b/src/bitcoin-util.cpp
@@ -14,6 +14,7 @@
#include <compat/compat.h>
#include <core_io.h>
#include <streams.h>
+#include <util/exception.h>
#include <util/system.h>
#include <util/translation.h>
#include <version.h>