diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-04-02 11:45:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-04-02 11:52:02 +0200 |
| commit | a2ff4ace21699fe2be2e0401af78790c01f78d85 (patch) | |
| tree | df0b45fca695b3d37b50faf2700dfc729aa2da43 /libs/kstd/include | |
| parent | 724b9693897642497ca5feee65546dc670bed722 (diff) | |
| download | teachos-a2ff4ace21699fe2be2e0401af78790c01f78d85.tar.xz teachos-a2ff4ace21699fe2be2e0401af78790c01f78d85.zip | |
kstd: move observer_ptr to bits
Diffstat (limited to 'libs/kstd/include')
| -rw-r--r-- | libs/kstd/include/kstd/bits/observer_ptr.hpp (renamed from libs/kstd/include/kstd/observer_ptr) | 2 | ||||
| -rw-r--r-- | libs/kstd/include/kstd/memory | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/libs/kstd/include/kstd/observer_ptr b/libs/kstd/include/kstd/bits/observer_ptr.hpp index a328331..43ea409 100644 --- a/libs/kstd/include/kstd/observer_ptr +++ b/libs/kstd/include/kstd/bits/observer_ptr.hpp @@ -1,6 +1,8 @@ #ifndef KSTD_OBSERVER_PTR_HPP #define KSTD_OBSERVER_PTR_HPP +// IWYU pragma: private, include <kstd/memory> + #include "kstd/os/error.hpp" #include <compare> diff --git a/libs/kstd/include/kstd/memory b/libs/kstd/include/kstd/memory index cab2fba..493f49a 100644 --- a/libs/kstd/include/kstd/memory +++ b/libs/kstd/include/kstd/memory @@ -1,7 +1,8 @@ -#ifndef KSTD_SHARED_POINTER_HPP -#define KSTD_SHARED_POINTER_HPP +#ifndef KSTD_MEMORY_HPP +#define KSTD_MEMORY_HPP -#include "kstd/bits/shared_ptr.hpp" // IWYU pragma: export -#include "kstd/bits/unique_ptr.hpp" // IWYU pragma: export +#include "kstd/bits/observer_ptr.hpp" // IWYU pragma: export +#include "kstd/bits/shared_ptr.hpp" // IWYU pragma: export +#include "kstd/bits/unique_ptr.hpp" // IWYU pragma: export #endif
\ No newline at end of file |
