summaryrefslogtreecommitdiffhomepage
path: root/example/simple_example/example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/simple_example/example.cpp')
-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;
}