Skip to content

Commit

Permalink
Update README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Aug 7, 2018
1 parent fe5062a commit 309c3d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ int main() {
auto longest_prefix = map2.longest_prefix("apple juice");
if(longest_prefix != map2.end()) {
// {apple, 1}
std::cout << longest_prefix.key() << std::endl;
std::cout << "{" << longest_prefix.key() << ", "
<< *longest_prefix << "}" << std::endl;
}

// Prefix erase
Expand Down

0 comments on commit 309c3d8

Please sign in to comment.