aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-02 15:18:05 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-02 15:18:05 +0200
commit3e80b6baa8f9666a9dd3cd4531bc68a3de4fee92 (patch)
tree29bd443811905ead4e8bdd2b350c429757c8b8be /libs
parentab4c59912c526d515e6e72188c08a7f92e5573e8 (diff)
downloadteachos-3e80b6baa8f9666a9dd3cd4531bc68a3de4fee92.tar.xz
teachos-3e80b6baa8f9666a9dd3cd4531bc68a3de4fee92.zip
kapi: allow for device searches
Diffstat (limited to 'libs')
-rw-r--r--libs/kstd/include/kstd/bits/flat_map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/kstd/include/kstd/bits/flat_map.hpp b/libs/kstd/include/kstd/bits/flat_map.hpp
index 9455549..fe46203 100644
--- a/libs/kstd/include/kstd/bits/flat_map.hpp
+++ b/libs/kstd/include/kstd/bits/flat_map.hpp
@@ -45,7 +45,7 @@ namespace kstd::bits
template<std::size_t Index>
requires(Index >= 0 && Index <= 1)
- constexpr auto get() const noexcept -> decltype(auto)
+ [[nodiscard]] constexpr auto get() const noexcept -> decltype(auto)
{
if constexpr (Index == 0)
{