aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-12-16 12:53:55 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-12-16 12:53:55 +0100
commitc35fcf3bbdbc746e0739c7ae3a6865ccf606d5ed (patch)
treef0fd469bd02c747bd1b31cc2f2cf41c25a3dec4a
parentbb59c22dc99517080276b61e09c53c00bbdb844d (diff)
fix warning by making ei_empty_struct::_ei_dummy_ private
-rw-r--r--Eigen/src/Core/util/XprHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h
index 5f3b6286c..eb7f30ced 100644
--- a/Eigen/src/Core/util/XprHelper.h
+++ b/Eigen/src/Core/util/XprHelper.h
@@ -28,7 +28,7 @@
// just a workaround because GCC seems to not really like empty structs
#ifdef __GNUG__
- struct ei_empty_struct{char _ei_dummy_;};
+ class ei_empty_struct{char _ei_dummy_;};
#define EIGEN_EMPTY_STRUCT : Eigen::ei_empty_struct
#else
#define EIGEN_EMPTY_STRUCT