aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2018-08-15 21:05:21 +0800
committerfanquake <fanquake@gmail.com>2018-08-15 21:05:21 +0800
commit4b3b85c597a2d4139ecaa6b78b2fa9c89be3319f (patch)
treef143a7896985d040dc9dcf6f99001d221a816d3c /src/logging.cpp
parent80127f074e3f04ac8a877cb5fe0489f45ae9564d (diff)
refactor: use fs:: over boost::filesystem::
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