diff options
| author | warptangent <warptangent@inbox.com> | 2015-05-08 11:32:20 -0700 |
|---|---|---|
| committer | warptangent <warptangent@inbox.com> | 2015-05-08 14:12:06 -0700 |
| commit | 71af04669c418e6312320bf098dd9928854f4d00 (patch) | |
| tree | 4e4c4a8c821511fd28d87d398badd86b956f4df4 /src/cryptonote_core | |
| parent | 48926d0eeb732e0e32a00be8f6d8f3e1831d3fda (diff) | |
| download | monzero-core-71af04669c418e6312320bf098dd9928854f4d00.tar.gz monzero-core-71af04669c418e6312320bf098dd9928854f4d00.tar.xz monzero-core-71af04669c418e6312320bf098dd9928854f4d00.zip | |
Update log statements
Use filesystem path conversion to string() instead of c_str().
Windows may otherwise output an address.
Diffstat (limited to 'src/cryptonote_core')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
