mirror of
https://github.com/gabime/spdlog.git
synced 2026-04-10 11:34:29 +08:00
Fixed some tidy warnings
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdio>
|
||||
#include <utility>
|
||||
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/details/os.h"
|
||||
@@ -12,8 +13,8 @@
|
||||
namespace spdlog {
|
||||
namespace details {
|
||||
|
||||
file_helper::file_helper(const file_event_handlers &event_handlers)
|
||||
: event_handlers_(event_handlers) {}
|
||||
file_helper::file_helper(file_event_handlers event_handlers)
|
||||
: event_handlers_(std::move(event_handlers)) {}
|
||||
|
||||
file_helper::~file_helper() { close(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user