From 8b7db3d544e11c722147cf7dfb725d9012829619 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 4 Mar 2019 23:13:55 -0600 Subject: [PATCH] [ox/fs] Remove designated initializer usage --- deps/ox/src/ox/fs/filesystem/passthroughfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp b/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp index e45d0cd1..fa31b7b0 100644 --- a/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp +++ b/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp @@ -102,7 +102,7 @@ ValErr PassThroughFS::stat(const char *path) { uint64_t size = type == FileType_Directory ? 0 : std::filesystem::file_size(p, ec); oxTrace("PassThroughFS::stat") << ec.message().c_str() << path; oxTrace("PassThroughFS::stat::size") << path << size; - return {{.size = size, .fileType = type}, OxError(ec.value())}; + return {{0, 0, size, type}, OxError(ec.value())}; } uint64_t PassThroughFS::spaceNeeded(uint64_t size) {