Silence -Wunused-private-field warnings on Clang (fixes #2164)

This commit is contained in:
Charles Dang 2017-11-03 18:08:01 +11:00
parent 99ddd7b53b
commit 237b7a00bc

View file

@ -56,8 +56,11 @@ public:
private:
EPOCH epoch;
unsigned int year = 0;
// TODO: Decide how many months and days there are!
unsigned int year = 0, month = 0, day = 0;
//unsigned int month = 0;
//unsigned int day = 0;
};
bool operator<(const irdya_date& a, const irdya_date& b);