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 272b9c0870
commit 9a24d4f104
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace detail {
/* Reusable implementation of HashMap and HashSet. */ /* Reusable implementation of HashMap and HashSet. */
template <class T, class HashPolicy, class AllocPolicy> template <class T, class HashPolicy, class AllocPolicy>
class HashTable : AllocPolicy class HashTable : private AllocPolicy
{ {
typedef typename tl::StripConst<T>::result NonConstT; typedef typename tl::StripConst<T>::result NonConstT;
typedef typename HashPolicy::KeyType Key; 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. * functions must not call back into the same object.
*/ */
template <class T, size_t N, class AllocPolicy> template <class T, size_t N, class AllocPolicy>
class Vector : AllocPolicy class Vector : private AllocPolicy
{ {
/* utilities */ /* utilities */