diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-10 16:46:51 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-10 16:46:51 +0200 |
| commit | 7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9 (patch) | |
| tree | d64dda2cf38c14f46912531fc2ecd92472540301 /libs/kstd | |
| parent | c63a0f8e7ed7a2d88cb24a46a6fd8e409f35756b (diff) | |
| download | kernel-7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9.tar.xz kernel-7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9.zip | |
kstd: fix doc comment
Diffstat (limited to 'libs/kstd')
| -rw-r--r-- | libs/kstd/kstd/bits/observer_ptr.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/kstd/kstd/bits/observer_ptr.hpp b/libs/kstd/kstd/bits/observer_ptr.hpp index d0c40549..753cfcb7 100644 --- a/libs/kstd/kstd/bits/observer_ptr.hpp +++ b/libs/kstd/kstd/bits/observer_ptr.hpp @@ -127,7 +127,7 @@ namespace kstd private: //! Throw an exception if the observer pointer is null. //! - //! @throws std::runtime_error if the observer pointer is null. + //! @warning This function panics if a nullptr-dereference is detected. constexpr auto throw_on_null() const -> void { if (m_ptr == nullptr) |
