summaryrefslogtreecommitdiff
path: root/src/libutp/utp_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutp/utp_internal.h')
-rw-r--r--src/libutp/utp_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutp/utp_internal.h b/src/libutp/utp_internal.h
index 2cc7a9ff..33500f98 100644
--- a/src/libutp/utp_internal.h
+++ b/src/libutp/utp_internal.h
@@ -127,11 +127,11 @@ class UTPSocketHT {
using Map = std::unordered_map<Key, V>;
public:
- [[nodiscard]] auto contains(Key const& key) const {
+ [[nodiscard]] auto contains(Key const& key)->bool const {
return map_.count(key) != 0U;
}
- [[nodiscard]] auto size() const {
+ [[nodiscard]] auto size()->bool const {
return map_.size();
}