]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/stat_private.h
Mark constructors and destructors as default where appropriate
[libs/core.git] / source / fs / stat_private.h
index c80d15119b1e2ffb1e6a0a5ebb27486ec8963031..a6da47351cfcd497ee2136aaae17fdfb881353b6 100644 (file)
@@ -8,14 +8,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 &);