aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLexi Winter <lexi@hemlock.eden.le-fay.org>2025-03-24 21:02:18 +0000
committerLexi Winter <lexi@hemlock.eden.le-fay.org>2025-03-24 21:02:18 +0000
commitbbaa28af2733188e7466ae7bd3ef8f8f64003bf9 (patch)
tree49368d333c32f8568c9cc89f0642c3c86fbab089
parentc1b20e4ebf3dd5d1e1550d37dae141bcd27d0d9f (diff)
downloadlibnvxx-bbaa28af2733188e7466ae7bd3ef8f8f64003bf9.tar.gz
libnvxx-bbaa28af2733188e7466ae7bd3ef8f8f64003bf9.tar.bz2
README: add a \n to the example print
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
diff --git a/README b/README
index 37d70f9..b1ed782 100644
--- a/README
+++ b/README
@@ -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: