mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Replace std::make_pair with std::pair CTAD (#7405)
This commit is contained in:
@@ -29,7 +29,7 @@ class interpolating_map {
|
||||
* @param value The value.
|
||||
*/
|
||||
void insert(const Key& key, const Value& value) {
|
||||
m_container.insert(std::make_pair(key, value));
|
||||
m_container.insert(std::pair{key, value});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ class interpolating_map {
|
||||
* @param value The value.
|
||||
*/
|
||||
void insert(Key&& key, Value&& value) {
|
||||
m_container.insert(std::make_pair(key, value));
|
||||
m_container.insert(std::pair{key, value});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user