aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-15 11:07:34 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-15 11:07:39 -0400
commitdc9d50668115e9d2304b135f9b5c1e75d2bddbde (patch)
treef143a7896985d040dc9dcf6f99001d221a816d3c /src/logging.cpp
parent80127f074e3f04ac8a877cb5fe0489f45ae9564d (diff)
parent4b3b85c597a2d4139ecaa6b78b2fa9c89be3319f (diff)
downloadbitcoin-dc9d50668115e9d2304b135f9b5c1e75d2bddbde.tar.xz
Merge #13982: refactor: use fs:: over boost::filesystem::
4b3b85c597 refactor: use fs:: over boost::filesystem:: (fanquake) Pull request description: Noticed while investigating #13973. Tree-SHA512: 20a764d2ff460883fa0fd543c0a51031a9a202b40cfda9943f9995d3108c0a8296a3982b63bbd069167f73a1855003304a83df466763032ce7339b08b3a97d4b
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index e8e22cbf97..6557dddffb 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -245,7 +245,7 @@ void BCLog::Logger::ShrinkDebugFile()
size_t log_size = 0;
try {
log_size = fs::file_size(m_file_path);
- } catch (boost::filesystem::filesystem_error &) {}
+ } catch (const fs::filesystem_error&) {}
// If debug.log file is more than 10% bigger the RECENT_DEBUG_HISTORY_SIZE
// trim it down by saving only the last RECENT_DEBUG_HISTORY_SIZE bytes