Overlooked another call to std::aligned_alloc().

This commit is contained in:
Michael Müller
2022-07-06 18:15:59 +02:00
parent b8efdaa79a
commit 19a1c2d861

View File

@@ -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.