mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-03 08:46:36 +00:00
fix: conditionally include EnhancedLogging.h in Log.cpp
- Only include beast/utility/EnhancedLogging.h when BEAST_ENHANCED_LOGGING is defined - Prevents compilation errors when enhanced logging is disabled
This commit is contained in:
@@ -23,7 +23,9 @@
|
||||
#include <ripple/basics/Log.h>
|
||||
#include <ripple/basics/chrono.h>
|
||||
#include <ripple/basics/contract.h>
|
||||
#ifdef BEAST_ENHANCED_LOGGING
|
||||
#include <ripple/beast/utility/EnhancedLogging.h>
|
||||
#endif
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
Reference in New Issue
Block a user