diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-04-02 15:18:05 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-04-02 15:18:05 +0200 |
| commit | 3e80b6baa8f9666a9dd3cd4531bc68a3de4fee92 (patch) | |
| tree | 29bd443811905ead4e8bdd2b350c429757c8b8be /libs | |
| parent | ab4c59912c526d515e6e72188c08a7f92e5573e8 (diff) | |
| download | teachos-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.hpp | 2 |
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) { |
