mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix warning by making ei_empty_struct::_ei_dummy_ private
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user