mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
fix warning by making ei_empty_struct::_ei_dummy_ private
This commit is contained in:
parent
bb59c22dc9
commit
c35fcf3bbd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user