From 7c299dab6436c3ee1ed2cf5154c8b20a92d23cd9 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 10 Sep 2026 16:46:51 +0200 Subject: kstd: fix doc comment --- libs/kstd/kstd/bits/observer_ptr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') 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) -- cgit v1.2.3