From 5052d3659b797926afb4396329fcb6f050f24572 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 9 Jan 2009 21:43:46 +0000 Subject: [PATCH] oops, fix compilation (sorry for all that noise!) --- Eigen/src/Core/Matrix.h | 2 +- Eigen/src/Core/MatrixStorage.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 893b765ef..a95da9995 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -134,7 +134,7 @@ class Matrix protected: ei_matrix_storage m_storage; Matrix(ei_select_matrix_constructor_doing_absolutely_nothing) // this ctor does not even do an assertion - : m_storage(ei_select_matrix_storage_constructor_doing_absolutely_nothing) {} + : m_storage(ei_select_matrix_storage_constructor_doing_absolutely_nothing()) {} public: enum { NeedsToAlign = (Options&AutoAlign) == AutoAlign diff --git a/Eigen/src/Core/MatrixStorage.h b/Eigen/src/Core/MatrixStorage.h index b02c47a60..ceee90e1a 100644 --- a/Eigen/src/Core/MatrixStorage.h +++ b/Eigen/src/Core/MatrixStorage.h @@ -74,7 +74,7 @@ template class ei_matr public: inline explicit ei_matrix_storage() {} inline ei_matrix_storage(ei_select_matrix_storage_constructor_doing_absolutely_nothing) - : m_data(ei_select_matrix_array_constructor_doing_absolutely_nothing) {} + : m_data(ei_select_matrix_array_constructor_doing_absolutely_nothing()) {} inline ei_matrix_storage(int,int,int) {} inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); } inline static int rows(void) {return _Rows;} @@ -93,7 +93,7 @@ template class ei_matrix_storage class ei_matrix_storage< public: inline explicit ei_matrix_storage() : m_rows(0) {} inline ei_matrix_storage(ei_select_matrix_storage_constructor_doing_absolutely_nothing) - : m_data(ei_select_matrix_array_constructor_doing_absolutely_nothing) {} + : m_data(ei_select_matrix_array_constructor_doing_absolutely_nothing()) {} inline ei_matrix_storage(int, int rows, int) : m_rows(rows) {} inline ~ei_matrix_storage() {} inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); } @@ -139,7 +139,7 @@ template class ei_matrix_storage< public: inline explicit ei_matrix_storage() : m_cols(0) {} inline ei_matrix_storage(ei_select_matrix_storage_constructor_doing_absolutely_nothing) - : m_data(ei_select_matrix_array_constructor_doing_absolutely_nothing) {} + : m_data(ei_select_matrix_array_constructor_doing_absolutely_nothing()) {} inline ei_matrix_storage(int, int, int cols) : m_cols(cols) {} inline ~ei_matrix_storage() {} inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_cols); } @@ -162,7 +162,7 @@ template class ei_matrix_storage(size)), m_rows(rows), m_cols(cols) {} inline ~ei_matrix_storage() { ei_aligned_delete(m_data, m_rows*m_cols); } @@ -192,7 +192,7 @@ template class ei_matrix_storage(size)), m_cols(cols) {} inline ~ei_matrix_storage() { ei_aligned_delete(m_data, _Rows*m_cols); } inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_cols); } @@ -219,7 +219,7 @@ template class ei_matrix_storage(size)), m_rows(rows) {} inline ~ei_matrix_storage() { ei_aligned_delete(m_data, _Cols*m_rows); } inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); }