Skip to content
Permalink
Browse files
Merge pull request #1721 from ehds/fix-code-annotation
flat_map: fix code annotation
  • Loading branch information
wwbmmm committed Mar 28, 2022
2 parents 8776fa8 + fd6a6da commit 2839f32676d454010c138bd120f23868c89a9b15
Showing 1 changed file with 1 addition and 1 deletion.
@@ -174,10 +174,10 @@ class FlatMap {

// Remove |key| and the associated value
// Returns: 1 on erased, 0 otherwise.
// Remove all items. Allocated spaces are NOT returned by system.
template <typename K2>
size_t erase(const K2& key, mapped_type* old_value = NULL);

// Remove all items. Allocated spaces are NOT returned by system.
void clear();

// Remove all items and return all allocated spaces to system.

0 comments on commit 2839f32

Please sign in to comment.