diff options
author | Victor Costan <costan@google.com> | 2019-05-04 17:40:21 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2019-05-04 17:42:20 -0700 |
commit | 24424a1ef2c284f4ec30544a3458023362cbeacd (patch) | |
tree | 9af6fa8b9f885a3a3f8b5c011e882cab4c25dd4c /table/format.h | |
parent | 9a56c49ed415df1b72ba1c84c8e7ed00de497f68 (diff) | |
download | leveldb-24424a1ef2c284f4ec30544a3458023362cbeacd.tar.gz |
Style cleanup.
1) Convert iterator-based for loops to C++11 foreach loops.
2) Convert "void operator=" to "T& operator=".
3) Switch from copy operators from private to public deleted.
4) Switch from empty ctors / dtors to "= default" where appropriate.
PiperOrigin-RevId: 246679195
Diffstat (limited to 'table/format.h')
-rw-r--r-- | table/format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/format.h b/table/format.h index 2ad145c..e49dfdc 100644 --- a/table/format.h +++ b/table/format.h @@ -53,7 +53,7 @@ class Footer { // of two block handles and a magic number. enum { kEncodedLength = 2 * BlockHandle::kMaxEncodedLength + 8 }; - Footer() {} + Footer() = default; // The block handle for the metaindex block of the table const BlockHandle& metaindex_handle() const { return metaindex_handle_; } |