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:
@@ -171,6 +171,11 @@ struct PageStdAllocator : public std::allocator<T> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
private:
|
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_;
|
PageAllocator& allocator_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user