Fix clang warnings

This commit is contained in:
Howard Hinnant
2014-02-25 15:49:27 -05:00
committed by Vinnie Falco
parent 8eddcfd3d5
commit bb02112752
10 changed files with 41 additions and 14 deletions

View File

@@ -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;