mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
modernize-use-equals-default
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
const int open_tries = 5;
|
||||
const int open_interval = 10;
|
||||
|
||||
explicit file_helper() {}
|
||||
explicit file_helper() = default;
|
||||
|
||||
file_helper(const file_helper&) = delete;
|
||||
file_helper& operator=(const file_helper&) = delete;
|
||||
@@ -135,6 +135,7 @@ public:
|
||||
// finally - return a valid base and extension tuple
|
||||
return std::make_tuple(fname.substr(0, ext_index), fname.substr(ext_index));
|
||||
}
|
||||
|
||||
private:
|
||||
FILE* _fd{ nullptr };
|
||||
filename_t _filename;
|
||||
|
||||
Reference in New Issue
Block a user