diff options
| author | Lexi Winter <lexi@hemlock.eden.le-fay.org> | 2025-03-24 21:02:18 +0000 |
|---|---|---|
| committer | Lexi Winter <lexi@hemlock.eden.le-fay.org> | 2025-03-24 21:02:18 +0000 |
| commit | bbaa28af2733188e7466ae7bd3ef8f8f64003bf9 (patch) | |
| tree | 49368d333c32f8568c9cc89f0642c3c86fbab089 /README | |
| parent | c1b20e4ebf3dd5d1e1550d37dae141bcd27d0d9f (diff) | |
| download | libnvxx-bbaa28af2733188e7466ae7bd3ef8f8f64003bf9.tar.gz libnvxx-bbaa28af2733188e7466ae7bd3ef8f8f64003bf9.tar.bz2 | |
README: add a \n to the example print
Diffstat (limited to 'README')
| -rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ the basic API is very similar to the C libnv API: auto nvl = bsd::nv_list(); nvl.add_number("the answer", 42); assert(nvl.exists_number("the answer")); - std::print("{0}", nvl.get_number("the answer")); + std::print("{0}\n", nvl.get_number("the answer")); infrequently asked questions: |
