Bug 621027. Fix AIX compiler warnings due to not explicitly saying what kind of inheritance we're doing. r=mrbkap

This commit is contained in:
Andew Paprocki 2011-03-22 17:19:10 -04:00
parent 30910b12ed
commit 9937121645
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace detail {
/* Reusable implementation of HashMap and HashSet. */
template <class T, class HashPolicy, class AllocPolicy>
class HashTable : AllocPolicy
class HashTable : private AllocPolicy
{
typedef typename tl::StripConst<T>::result NonConstT;
typedef typename HashPolicy::KeyType Key;

View File

@ -192,7 +192,7 @@ struct VectorImpl<T, N, AP, true>
* functions must not call back into the same object.
*/
template <class T, size_t N, class AllocPolicy>
class Vector : AllocPolicy
class Vector : private AllocPolicy
{
/* utilities */