Remove unnecessary file close
This commit is contained in:
parent
5dcd8f242b
commit
e79d95925a
@ -28,7 +28,6 @@ SPDLOG_INLINE const filename_t &basic_file_sink<Mutex>::filename() const {
|
|||||||
|
|
||||||
template <typename Mutex>
|
template <typename Mutex>
|
||||||
SPDLOG_INLINE void basic_file_sink<Mutex>::truncate() {
|
SPDLOG_INLINE void basic_file_sink<Mutex>::truncate() {
|
||||||
file_helper_.close();
|
|
||||||
file_helper_.reopen(true);
|
file_helper_.reopen(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user