2
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2024-12-27 07:29:52 +08:00

Applying Benoit's comment;removing dead code.

This commit is contained in:
Mehdi Goli 2017-05-25 11:17:26 +01:00
parent 76c0fc1f95
commit e3f964ed55

View File

@ -40,7 +40,6 @@ struct SyclAllocator {
SyclAllocator( ){};
Scalar* allocate(std::size_t elements) {
return static_cast<Scalar*>(Conditional_Allocate<CheckAlignStatically<Align>::Val, Align>::conditional_allocate(elements));
// return static_cast<Scalar*>(aligned_alloc(Align, elements));
}
void deallocate(Scalar * p, std::size_t size) { EIGEN_UNUSED_VARIABLE(size); free(p); }
};