mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 15:35:50 +00:00
Fix clang warnings
This commit is contained in:
committed by
Vinnie Falco
parent
8eddcfd3d5
commit
bb02112752
@@ -1469,7 +1469,7 @@ operator[] (Key const& key)
|
||||
std::piecewise_construct, std::forward_as_tuple (key),
|
||||
std::forward_as_tuple ()));
|
||||
chronological.list.push_back (*p);
|
||||
auto const iter (m_cont.insert_commit (*p, d));
|
||||
m_cont.insert_commit (*p, d);
|
||||
return p->value.second;
|
||||
}
|
||||
return result.first->value.second;
|
||||
@@ -1492,7 +1492,7 @@ operator[] (Key&& key)
|
||||
std::forward_as_tuple (std::move (key)),
|
||||
std::forward_as_tuple ()));
|
||||
chronological.list.push_back (*p);
|
||||
auto const iter (m_cont.insert_commit (*p, d));
|
||||
m_cont.insert_commit (*p, d);
|
||||
return p->value.second;
|
||||
}
|
||||
return result.first->value.second;
|
||||
|
||||
Reference in New Issue
Block a user