mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
refactor: Move error() from util/system.h to logging.h
error is a low-level function with a sole dependency on LogPrintf, which is defined in logging.h 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.
This commit is contained in:
committed by
TheCharlatan
parent
e7333b420e
commit
aaced5633b
@@ -11,6 +11,7 @@
|
||||
#include <cstdint>
|
||||
#include <fs.h>
|
||||
#include <hash.h>
|
||||
#include <logging.h>
|
||||
#include <logging/timer.h>
|
||||
#include <netbase.h>
|
||||
#include <netgroup.h>
|
||||
|
||||
Reference in New Issue
Block a user