From 149a5998b5ec6f825998a27a305d972022271888 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 4 Jan 2026 07:56:21 +0100 Subject: core: tracked_ptr: Update public API. Signed-off-by: Amlal El Mahrouss --- example/smart_ptr_example/example.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'example/smart_ptr_example/example.cpp') diff --git a/example/smart_ptr_example/example.cpp b/example/smart_ptr_example/example.cpp index fbf8f3d..61903f5 100644 --- a/example/smart_ptr_example/example.cpp +++ b/example/smart_ptr_example/example.cpp @@ -10,11 +10,11 @@ /// \brief Smart pointer example. auto main(int argc, char** argv) -> int { - ocl::shared_ptr smart = ocl::delete_ptr(&std::cout); - *smart << "hello, world\n"; + ocl::shared_ptr smart = ocl::delete_ptr(&std::cout); + *smart << "hello, world\n"; - ocl::tracked_ptr tracked = ocl::make_tracked(10); - *smart << *tracked << "\n"; - - return EXIT_SUCCESS; + ocl::tracked_ptr tracked = ocl::make_tracked(10); + *smart << *tracked << "\n"; + + return EXIT_SUCCESS; } -- cgit v1.2.3