summaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/simple_allocator_op/example.cpp2
-rw-r--r--example/smart_ptr_example/example.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/simple_allocator_op/example.cpp b/example/simple_allocator_op/example.cpp
index f09f60f..b621a02 100644
--- a/example/simple_allocator_op/example.cpp
+++ b/example/simple_allocator_op/example.cpp
@@ -13,7 +13,7 @@ int main()
auto foo = int_alloc.construct_array<1>();
*foo = 67;
- ocl::io::print(*foo);
+ ocl::io::print(*foo);
return EXIT_SUCCESS;
}
diff --git a/example/smart_ptr_example/example.cpp b/example/smart_ptr_example/example.cpp
index abe5aaf..fbf8f3d 100644
--- a/example/smart_ptr_example/example.cpp
+++ b/example/smart_ptr_example/example.cpp
@@ -16,5 +16,5 @@ auto main(int argc, char** argv) -> int
ocl::tracked_ptr<int> tracked = ocl::make_tracked<int>(10);
*smart << *tracked << "\n";
- return EXIT_SUCCESS;
+ return EXIT_SUCCESS;
}