refactor: Use TranslateFn type consistently

The type was introduced in the previous commit.
This commit is contained in:
MarcoFalke
2025-01-15 12:15:40 +01:00
parent eeee6cf2ff
commit fa1d5acb8d
8 changed files with 9 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ using util::ToString;
// just use a plain system_clock.
using CliClock = std::chrono::system_clock;
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
const TranslateFn G_TRANSLATION_FUN{nullptr};
static const char DEFAULT_RPCCONNECT[] = "127.0.0.1";
static const int DEFAULT_HTTP_CLIENT_TIMEOUT=900;