X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ffs%2Fstat_private.h;h=23019a5b6982c22df324cee04ea3a16de7cd60e9;hb=HEAD;hp=c80d15119b1e2ffb1e6a0a5ebb27486ec8963031;hpb=609c9a508cfdc7b42c46c4f21d17639204165a00;p=libs%2Fcore.git diff --git a/source/fs/stat_private.h b/source/fs/stat_private.h index c80d151..23019a5 100644 --- a/source/fs/stat_private.h +++ b/source/fs/stat_private.h @@ -1,6 +1,7 @@ #ifndef MSP_FS_STAT_PRIVATE_H_ #define MSP_FS_STAT_PRIVATE_H_ +#include "stat.h" #include "stat_platform.h" namespace Msp { @@ -8,14 +9,14 @@ namespace FS { struct Stat::Private { - UserID owner_id; - GroupID group_id; + UserID owner_id = INVALID_UID; + GroupID group_id = INVALID_GID; - Private(); + Private() = default; Private(const Private &); ~Private(); -#ifndef WIN32 +#ifndef _WIN32 /* This is here because it needs access to private members of Stat, but we can't expose the system stat struct in the public header */ static Stat from_struct_stat(const struct stat &);