diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-14 20:18:45 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-14 20:18:45 +0000 |
| commit | f12fa671ccadfdeaca1529157c3bd458f9e37c30 (patch) | |
| tree | d2fdbef28e2db631093db1b8987a25d833234939 | |
| parent | 576935b6448802138639a324535614e0a966ead1 (diff) | |
| download | teachos-f12fa671ccadfdeaca1529157c3bd458f9e37c30.tar.xz teachos-f12fa671ccadfdeaca1529157c3bd458f9e37c30.zip | |
libs: move shared_pointer to kstd
| -rw-r--r-- | libs/kstd/include/kstd/shared_pointer.hpp (renamed from arch/x86_64/include/arch/stl/shared_pointer.hpp) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86_64/include/arch/stl/shared_pointer.hpp b/libs/kstd/include/kstd/shared_pointer.hpp index c9796a8..4717117 100644 --- a/arch/x86_64/include/arch/stl/shared_pointer.hpp +++ b/libs/kstd/include/kstd/shared_pointer.hpp @@ -1,9 +1,9 @@ -#ifndef TEACHOS_ARCH_X86_64_STL_SHARED_POINTER_HPP -#define TEACHOS_ARCH_X86_64_STL_SHARED_POINTER_HPP +#ifndef KSTD_SHARED_POINTER_HPP +#define KSTD_SHARED_POINTER_HPP #include <atomic> -namespace teachos::arch::stl +namespace kstd { /** * @brief Shared_pointer is a smart pointer that retains shared ownership of an object through a pointer. Several @@ -264,6 +264,6 @@ namespace teachos::arch::stl { return shared_pointer<T>(new T(std::forward<Args>(args)...)); } -} // namespace teachos::arch::stl +} // namespace kstd -#endif // TEACHOS_ARCH_X86_64_STL_SHARED_POINTER_HPP
\ No newline at end of file +#endif
\ No newline at end of file |
