Skip to content

Commit

Permalink
Remove unnecessary file close
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodelseppia committed Dec 2, 2024
1 parent 5dcd8f2 commit e79d959
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/spdlog/sinks/basic_file_sink-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ SPDLOG_INLINE const filename_t &basic_file_sink<Mutex>::filename() const {

template <typename Mutex>
SPDLOG_INLINE void basic_file_sink<Mutex>::truncate() {
file_helper_.close();
file_helper_.reopen(true);
}

Expand Down

0 comments on commit e79d959

Please sign in to comment.