mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Overlooked another call to std::aligned_alloc().
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* @return Allocated memory using systems malloc (but aligned).
|
* @return Allocated memory using systems malloc (but aligned).
|
||||||
*/
|
*/
|
||||||
[[nodiscard]] void *allocate(const std::uint16_t /*core_id*/) override { return std::aligned_alloc(64U, S); }
|
[[nodiscard]] void *allocate(const std::uint16_t /*core_id*/) override { return std::malloc(S); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Frees the given memory using systems free.
|
* Frees the given memory using systems free.
|
||||||
|
|||||||
Reference in New Issue
Block a user