mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 23:13:34 +08:00
Scope hiding fixes
This commit is contained in:
@@ -32,9 +32,9 @@ class UAVCAN_EXPORT MapBase : Noncopyable
|
||||
Key key;
|
||||
Value value;
|
||||
KVPair() { }
|
||||
KVPair(const Key& key, const Value& value)
|
||||
: key(key)
|
||||
, value(value)
|
||||
KVPair(const Key& arg_key, const Value& arg_value)
|
||||
: key(arg_key)
|
||||
, value(arg_value)
|
||||
{ }
|
||||
bool match(const Key& rhs) const { return rhs == key; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user