summaryrefslogtreecommitdiff
path: root/include/leveldb/iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/leveldb/iterator.h')
-rw-r--r--include/leveldb/iterator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/leveldb/iterator.h b/include/leveldb/iterator.h
index 6c1d91b..447e950 100644
--- a/include/leveldb/iterator.h
+++ b/include/leveldb/iterator.h
@@ -93,7 +93,10 @@ class LEVELDB_EXPORT Iterator {
// True if the node is not used. Only head nodes might be unused.
bool IsEmpty() const { return function == nullptr; }
// Invokes the cleanup function.
- void Run() { assert(function != nullptr); (*function)(arg1, arg2); }
+ void Run() {
+ assert(function != nullptr);
+ (*function)(arg1, arg2);
+ }
};
CleanupNode cleanup_head_;
};