diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-19 10:58:20 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-19 10:58:20 +0100 |
| commit | 3192329b9b653d91fb19cb5cc497548801d9ee10 (patch) | |
| tree | 8747bfd7ce24f652a7560267e92aac5e121e5279 /include/LibC++ | |
| parent | 87a30d95dddc0cfcdf77e9d7406c1eea717865ff (diff) | |
chore: Updated `PlaceableType` to `PlaceableCallable`.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/LibC++')
| -rw-r--r-- | include/LibC++/new.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/LibC++/new.h b/include/LibC++/new.h index 23bfa50..9a7d7da 100644 --- a/include/LibC++/new.h +++ b/include/LibC++/new.h @@ -44,8 +44,8 @@ void operator _placement_delete(void*); /// \note This should NOT fail, failure to meet the conditions will cause the program's state to be aborted. /// \brief Set the placement policy of future memory allocations. -template <class PlaceableType> -void set_placement_policy(const PlaceableType&) noexcept; +template <class PlaceableCallable> +void set_placement_policy(const PlaceableCallable&) noexcept; void* operator new(size_t, const nothrow_t&) noexcept; void* operator new(size_t, void*) noexcept; |
