mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-09-04 12:41:01 +00:00
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
|
@ -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_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue