mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
python is always required (src/htmlparser/generate_fsm.py) Closes: https://bugs.gentoo.org/967254 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/138 Merges: https://codeberg.org/gentoo/gentoo/pulls/138 Signed-off-by: Sam James <sam@gentoo.org>
15 lines
664 B
Diff
15 lines
664 B
Diff
PR merged https://github.com/OlafvdSpek/ctemplate/pull/143.patch
|
|
gcc-16/C++20, bug 967254, fix: remove hint, removed typedef
|
|
--- a/src/base/arena-inl.h
|
|
+++ b/src/base/arena-inl.h
|
|
@@ -93,8 +93,7 @@ template <class T, class C> class ArenaAllocator {
|
|
ArenaAllocator(C* arena) : arena_(arena) { } // NOLINT
|
|
~ArenaAllocator() { }
|
|
|
|
- pointer allocate(size_type n,
|
|
- std::allocator<void>::const_pointer /*hint*/ = 0) {
|
|
+ pointer allocate(size_type n) {
|
|
assert(arena_ && "No arena to allocate from!");
|
|
return reinterpret_cast<T*>(arena_->AllocAligned(n * sizeof(T),
|
|
kAlignment));
|