Fix typos

This commit is contained in:
Tomasz Grabiec
2015-08-25 15:57:15 +02:00
committed by Avi Kivity
parent f2713561f5
commit 2bfb138910
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -24,7 +24,7 @@ memtable::find_or_create_partition_slow(partition_key_view key) {
// FIXME: Perform lookup using std::pair<token, partition_key_view>
// 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& {