We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f943ec0 commit f2a9d8bCopy full SHA for f2a9d8b
samples/matter/common/src/util/finite_map.h
@@ -62,6 +62,8 @@ template <typename T1, typename T2, uint16_t N> struct FiniteMap {
62
mMap[slot].key = key;
63
mMap[slot].value = std::move(value);
64
mElementsCount++;
65
+ } else {
66
+ return false;
67
}
68
return true;
69
0 commit comments