aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/kstd/include/kstd/unique_pointer.hpp (renamed from arch/x86_64/include/arch/stl/unique_pointer.hpp)12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/x86_64/include/arch/stl/unique_pointer.hpp b/libs/kstd/include/kstd/unique_pointer.hpp
index 03b4ef3..2861646 100644
--- a/arch/x86_64/include/arch/stl/unique_pointer.hpp
+++ b/libs/kstd/include/kstd/unique_pointer.hpp
@@ -1,7 +1,9 @@
-#ifndef TEACHOS_ARCH_X86_64_STL_UNIQUE_POINTER_HPP
-#define TEACHOS_ARCH_X86_64_STL_UNIQUE_POINTER_HPP
+#ifndef KSTD_UNIQUE_POINTER_HPP
+#define KSTD_UNIQUE_POINTER_HPP
-namespace teachos::arch::stl
+#include <utility>
+
+namespace kstd
{
/**
* @brief Unique_pointer is a smart pointer that owns (is responsible for) and manages another object via a pointer
@@ -199,6 +201,6 @@ namespace teachos::arch::stl
{
return unique_pointer<T>(new T(std::forward<Args>(args)...));
}
-} // namespace teachos::arch::stl
+} // namespace kstd
-#endif // TEACHOS_ARCH_X86_64_STL_UNIQUE_POINTER_HPP \ No newline at end of file
+#endif \ No newline at end of file