aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-09-10 16:46:51 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-09-10 16:46:51 +0200
commit7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9 (patch)
treed64dda2cf38c14f46912531fc2ecd92472540301 /libs
parentc63a0f8e7ed7a2d88cb24a46a6fd8e409f35756b (diff)
downloadkernel-7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9.tar.xz
kernel-7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9.zip
kstd: fix doc comment
Diffstat (limited to 'libs')
-rw-r--r--libs/kstd/kstd/bits/observer_ptr.hpp2
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)