mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
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:
parent
272b9c0870
commit
9a24d4f104
@ -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;
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user