mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
Merge bitcoin/bitcoin#29040: refactor: Remove pre-C++20 code, fs::path cleanup
6666713041refactor: Rename fs::path::u8string() to fs::path::utf8string() (MarcoFalke)856c88776fArgsManager: return path by value from GetBlocksDirPath() (Vasil Dimov)fa3d9304e8refactor: Remove pre-C++20 fs code (MarcoFalke)fa00098e1aAdd tests for C++20 std::u8string (MarcoFalke)fa2bac08c2refactor: Avoid copy/move in fs.h (MarcoFalke)faea30227brefactor: Use C++20 std::chrono::days (MarcoFalke) Pull request description: This: * Removes dead code. * Avoids unused copies in some places. * Adds copies in other places for safety. ACKs for top commit: achow101: ACK6666713041ryanofsky: Code review ACK6666713041. Just documentation change since last review. stickies-v: re-ACK6666713041Tree-SHA512: 6176e44f30b310d51632ec2d3827c3819905d0ddc6a4b57acfcb6cfa1f9735176da75ee8ed4a4abd1296cb0b83bee9374cc6f91ffac87c19b63c435eeadf3f46
This commit is contained in:
@@ -245,7 +245,7 @@ static RPCHelpMan getrpcinfo()
|
||||
UniValue result(UniValue::VOBJ);
|
||||
result.pushKV("active_commands", active_commands);
|
||||
|
||||
const std::string path = LogInstance().m_file_path.u8string();
|
||||
const std::string path = LogInstance().m_file_path.utf8string();
|
||||
UniValue log_path(UniValue::VSTR, path);
|
||||
result.pushKV("logpath", log_path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user