From: Mikko Rasa Date: Sun, 3 Sep 2023 23:01:06 +0000 (+0300) Subject: Fix an error in Stat copy constructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2f10e2e85efeea2ee35c0940a191552d78a56a16;p=libs%2Fcore.git Fix an error in Stat copy constructor --- diff --git a/source/fs/stat.cpp b/source/fs/stat.cpp index e296ead..7f1f9e6 100644 --- a/source/fs/stat.cpp +++ b/source/fs/stat.cpp @@ -10,7 +10,7 @@ namespace FS { Stat::Stat(const Stat &other): exists(other.exists), type(other.type), - size(other.type), + size(other.size), alloc_size(other.alloc_size), mtime(other.mtime), owner_info(other.owner_info),