Apply clang-format

This commit is contained in:
Victor Zverovich
2020-07-09 09:06:24 -07:00
parent b998e0f30b
commit 60c43e8703
7 changed files with 33 additions and 40 deletions
+3 -6
View File
@@ -346,8 +346,7 @@ long getpagesize();
class direct_buffered_file;
template <typename S, typename... Args>
void print(direct_buffered_file& f, const S& format_str,
const Args&... args);
void print(direct_buffered_file& f, const S& format_str, const Args&... args);
// A buffered file with a direct buffer access and no synchronization.
class direct_buffered_file {
@@ -368,11 +367,9 @@ class direct_buffered_file {
public:
direct_buffered_file(cstring_view path, int oflag)
: file_(path, oflag), pos_(0) {}
: file_(path, oflag), pos_(0) {}
~direct_buffered_file() {
flush();
}
~direct_buffered_file() { flush(); }
void close() {
flush();