mirror of
https://github.com/vimpunk/mio.git
synced 2026-01-01 03:12:20 +08:00
Fix unescaped code block in README.md
This commit is contained in:
parent
bf0dd0158e
commit
e2be76afbe
@ -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++
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user