fix warning by making ei_empty_struct::_ei_dummy_ private

This commit is contained in:
Gael Guennebaud 2009-12-16 12:53:55 +01:00
parent bb59c22dc9
commit c35fcf3bbd

View File

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