summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-30 21:56:37 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-30 21:56:37 +0100
commit8e2394ed661dd223fb02b3a63fb03ca869bad44c (patch)
tree817a3e3c482b3a3a6bab7362dacc9a296dad55e4
parent7c899dbb66486630804a8f048a8aa4f2385389f3 (diff)
feat: fix tabs in example and add doc folder.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--doc/.keep0
-rw-r--r--example/simple_allocator_op/example.cpp2
-rw-r--r--example/smart_ptr_example/example.cpp2
3 files changed, 2 insertions, 2 deletions
diff --git a/doc/.keep b/doc/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/doc/.keep
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;
}