From d52755f226e92c8606d472eaf0481c9f94311a34 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 15 Jan 2026 19:52:12 +0100 Subject: feat! breaking API changes for tproc V2. Signed-off-by: Amlal El Mahrouss --- example/simple_example/example.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'example/simple_example/example.cpp') 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 new_elem = std::make_unique(", and Jumps again."); - std::unique_ptr res(rope.concat(new_elem.get())); + rope.concat(new_elem.get()); std::cout << *++rope << std::endl; - std::cout << rope << std::endl; } -- cgit v1.2.3