From 71af04669c418e6312320bf098dd9928854f4d00 Mon Sep 17 00:00:00 2001 From: warptangent Date: Fri, 8 May 2015 11:32:20 -0700 Subject: Update log statements Use filesystem path conversion to string() instead of c_str(). Windows may otherwise output an address. --- src/cryptonote_core/cryptonote_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptonote_core/cryptonote_core.cpp') diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index a5517e011..2037a8c28 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -237,7 +237,7 @@ namespace cryptonote folder /= db->get_db_name(); - LOG_PRINT_L0("Loading blockchain from folder " << folder.c_str() << " ..."); + LOG_PRINT_L0("Loading blockchain from folder " << folder.string() << " ..."); const std::string filename = folder.string(); try -- cgit v1.2.3