summaryrefslogtreecommitdiff
path: root/db/write_batch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db/write_batch.cc')
-rw-r--r--db/write_batch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/write_batch.cc b/db/write_batch.cc
index 1d9423e0d..07068555b 100644
--- a/db/write_batch.cc
+++ b/db/write_batch.cc
@@ -776,7 +776,7 @@ bool WriteBatchInternal::IsLatestPersistentState(const WriteBatch* b) {
return b->is_latest_persistent_state_;
}
-void WriteBatchInternal::SetAsLastestPersistentState(WriteBatch* b) {
+void WriteBatchInternal::SetAsLatestPersistentState(WriteBatch* b) {
b->is_latest_persistent_state_ = true;
}