|
|
|
@ -353,7 +353,6 @@ template <class Collection> |
|
|
|
|
void InsertOrDie(Collection* const collection, |
|
|
|
|
const typename Collection::value_type::first_type& key, |
|
|
|
|
const typename Collection::value_type::second_type& data) { |
|
|
|
|
typedef typename Collection::value_type value_type; |
|
|
|
|
GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) |
|
|
|
|
<< "duplicate key: " << key; |
|
|
|
|
} |
|
|
|
@ -364,7 +363,6 @@ void InsertOrDieNoPrint( |
|
|
|
|
Collection* const collection, |
|
|
|
|
const typename Collection::value_type::first_type& key, |
|
|
|
|
const typename Collection::value_type::second_type& data) { |
|
|
|
|
typedef typename Collection::value_type value_type; |
|
|
|
|
GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) << "duplicate key."; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|