Skip to content

Commit

Permalink
Namespace change for cheerp::forward
Browse files Browse the repository at this point in the history
The namespace for forward has changed from cheerp to cheerp::utility
  • Loading branch information
Maqrkk committed Oct 31, 2024
1 parent c116ac2 commit 822ee4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcxxabi/src/cxa_cheerp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class IdAllocator
T* allocate(Args&&... args)
{
int id = find_free_id();
T* ret = new(&store[id]) T(cheerp::forward<Args>(args)...);
T* ret = new(&store[id]) T(cheerp::utility::forward<Args>(args)...);
slots[id] = true;
return ret;
}
Expand Down Expand Up @@ -181,7 +181,7 @@ struct Exception
template<typename... Args>
static Exception* allocate(Args&&... args) noexcept
{
return allocator()->allocate(cheerp::forward<Args>(args)...);
return allocator()->allocate(cheerp::utility::forward<Args>(args)...);
}
void deallocate() noexcept
{
Expand Down

0 comments on commit 822ee4a

Please sign in to comment.