summaryrefslogtreecommitdiffhomepage
path: root/example/simple_example
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-15 19:52:12 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-15 19:52:12 +0100
commitd52755f226e92c8606d472eaf0481c9f94311a34 (patch)
tree8777f61daf39554ffded9f890fd1c31cbab70b55 /example/simple_example
parent063795e07313bb5e989e14253e5f3f6ad7840b3e (diff)
feat! breaking API changes for tproc V2.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/simple_example')
-rw-r--r--example/simple_example/example.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/simple_example/example.cpp b/example/simple_example/example.cpp
index 3feb686..0487e80 100644
--- a/example/simple_example/example.cpp
+++ b/example/simple_example/example.cpp
@@ -20,8 +20,7 @@ int main()
auto rope = tproc::crope("The Quick Brown Fox Jumps Over The Lazy Dog");
std::unique_ptr<tproc::crope> new_elem = std::make_unique<tproc::crope>(", and Jumps again.");
- std::unique_ptr<tproc::crope> res(rope.concat(new_elem.get()));
+ rope.concat(new_elem.get());
std::cout << *++rope << std::endl;
- std::cout << rope << std::endl;
}