astyle
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
const int open_interval = 10;
|
||||
|
||||
explicit file_helper() :
|
||||
_fd(nullptr)
|
||||
_fd(nullptr)
|
||||
{}
|
||||
|
||||
file_helper(const file_helper&) = delete;
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
size_t msg_size = msg.formatted.size();
|
||||
auto data = msg.formatted.data();
|
||||
if (std::fwrite(data, 1, msg_size, _fd) != msg_size)
|
||||
throw spdlog_ex("Failed writing to file " + os::filename_to_str(_filename), errno);
|
||||
throw spdlog_ex("Failed writing to file " + os::filename_to_str(_filename), errno);
|
||||
}
|
||||
|
||||
size_t size()
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
|
||||
private:
|
||||
FILE* _fd;
|
||||
filename_t _filename;
|
||||
filename_t _filename;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user