mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-30 07:44:10 +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
|
// just a workaround because GCC seems to not really like empty structs
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
struct ei_empty_struct{char _ei_dummy_;};
|
class ei_empty_struct{char _ei_dummy_;};
|
||||||
#define EIGEN_EMPTY_STRUCT : Eigen::ei_empty_struct
|
#define EIGEN_EMPTY_STRUCT : Eigen::ei_empty_struct
|
||||||
#else
|
#else
|
||||||
#define EIGEN_EMPTY_STRUCT
|
#define EIGEN_EMPTY_STRUCT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user