From e2be76afbed8cba09ba3101585c9f4c5064bb93c Mon Sep 17 00:00:00 2001 From: mandreyel Date: Thu, 18 Oct 2018 09:10:13 +0200 Subject: [PATCH] Fix unescaped code block in README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3089960..65b0fc7 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ int main() const int the_answer_to_everything = ro_mmap[answer_index]; assert(the_answer_to_everything == 42); } +``` `mio::basic_mmap` is move-only, but if multiple copies to the same mapping are needed, use `mio::basic_shared_mmap` which has `std::shared_ptr` semantics and has the same interface as `mio::basic_mmap`. ```c++