diff --git a/examples/matrixtile.h b/examples/matrixtile.h index e23007803..8d3d0de54 100644 --- a/examples/matrixtile.h +++ b/examples/matrixtile.h @@ -9,9 +9,9 @@ template class MatrixTile { public: - using metadata_t = typename std::tuple; + using metadata_t = std::tuple; - using pointer_t = typename std::shared_ptr; + using pointer_t = std::shared_ptr; private: pointer_t _data; @@ -19,8 +19,7 @@ class MatrixTile { // (Re)allocate the tile memory void realloc() { - // std::cout << "Reallocating new tile" << std::endl; - _data = std::shared_ptr(new T[_lda * _cols], [](T* p) { delete[] p; }); + _data = std::shared_ptr(new T[_lda * _cols]); } public: