From 309c3d85defb50900b26b60ccb8d0761d2415488 Mon Sep 17 00:00:00 2001 From: Tessil Date: Tue, 7 Aug 2018 21:40:17 +0200 Subject: [PATCH] Update README.md. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce0e995..e813e5e 100644 --- a/README.md +++ b/README.md @@ -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