From 822ee4a18b922d8b30e1f48fed42c34a07545cdd Mon Sep 17 00:00:00 2001 From: Mark Peerdeman Date: Thu, 31 Oct 2024 09:41:48 +0100 Subject: [PATCH] Namespace change for cheerp::forward The namespace for forward has changed from cheerp to cheerp::utility --- libcxxabi/src/cxa_cheerp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxxabi/src/cxa_cheerp.cpp b/libcxxabi/src/cxa_cheerp.cpp index cd7211f74002..ebfa9a409890 100644 --- a/libcxxabi/src/cxa_cheerp.cpp +++ b/libcxxabi/src/cxa_cheerp.cpp @@ -101,7 +101,7 @@ class IdAllocator T* allocate(Args&&... args) { int id = find_free_id(); - T* ret = new(&store[id]) T(cheerp::forward(args)...); + T* ret = new(&store[id]) T(cheerp::utility::forward(args)...); slots[id] = true; return ret; } @@ -181,7 +181,7 @@ struct Exception template static Exception* allocate(Args&&... args) noexcept { - return allocator()->allocate(cheerp::forward(args)...); + return allocator()->allocate(cheerp::utility::forward(args)...); } void deallocate() noexcept {