From 2bfb13891069259e27bfd4e1dbad50e81cfd2634 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Tue, 25 Aug 2015 15:57:15 +0200 Subject: [PATCH] Fix typos --- atomic_cell.hh | 2 +- memtable.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atomic_cell.hh b/atomic_cell.hh index 8b7e4b87df..f2ea8f6db5 100644 --- a/atomic_cell.hh +++ b/atomic_cell.hh @@ -244,7 +244,7 @@ class serializer; } // A variant type that can hold either an atomic_cell, or a serialized collection. -// Which type is stored is determinied by the schema. +// Which type is stored is determined by the schema. class atomic_cell_or_collection final { managed_bytes _data; diff --git a/memtable.cc b/memtable.cc index 2f47062be3..2b245ed4c8 100644 --- a/memtable.cc +++ b/memtable.cc @@ -24,7 +24,7 @@ memtable::find_or_create_partition_slow(partition_key_view key) { // FIXME: Perform lookup using std::pair // to avoid unconditional copy of the partition key. // We can't do it right now because std::map<> which holds - // partitions doesn't support heterogenous lookup. + // partitions doesn't support heterogeneous lookup. // We could switch to boost::intrusive_map<> similar to what we have for row keys. auto& outer = current_allocator(); return with_allocator(standard_allocator(), [&, this] () -> mutation_partition& {