From 854619f04fb4a697c86e13a27e681a47ca5860ab Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Thu, 21 May 2020 17:21:04 -0300 Subject: [PATCH] Workaround for ghc::filesystem (mac) compatibility --- llarp/config/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/config/config.cpp b/llarp/config/config.cpp index e7cabb636..140d673ec 100644 --- a/llarp/config/config.cpp +++ b/llarp/config/config.cpp @@ -301,7 +301,7 @@ namespace llarp conf.addUndeclaredHandler( "connect", [this](std::string_view section, std::string_view name, std::string_view value) { - fs::path file = value; + fs::path file{value.begin(), value.end()}; if (not fs::exists(file)) throw std::runtime_error(stringify( "Specified bootstrap file ",