Fix build on Android.
Patch by Nico Weber <thakis@chromium.org> Review URL: https://breakpad.appspot.com/609002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1197 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
bbd0e39801
commit
8965a51b2c
1 changed files with 5 additions and 0 deletions
|
@ -171,6 +171,11 @@ struct PageStdAllocator : public std::allocator<T> {
|
|||
};
|
||||
|
||||
private:
|
||||
// Silly workaround for the gcc from Android's ndk (gcc 4.6), which will
|
||||
// otherwise complain that `other.allocator_` is private in the constructor
|
||||
// code.
|
||||
template<typename Other> friend struct PageStdAllocator;
|
||||
|
||||
PageAllocator& allocator_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue