Skip to content

Commit

Permalink
VOXELDOWNLOADER: designated initializers requires at least c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Jun 23, 2024
1 parent 8542206 commit 861f3c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/voxelcollection/tests/DownloaderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ TEST_F(DownloaderTest, testConvertTreeEntryToVoxelFileGithub) {
core::AtomicBool shouldQuit{false};

core::DynamicArray<github::TreeEntry> entries;
github::TreeEntry entry1{.path = "data/test.vox",
.url = github::downloadUrl(source.github.repo, source.github.commit, "data/test.vox")};
github::TreeEntry entry1{"data/test.vox",
github::downloadUrl(source.github.repo, source.github.commit, "data/test.vox")};

entries.push_back(entry1);

Expand Down Expand Up @@ -164,8 +164,8 @@ TEST_F(DownloaderTest, testConvertTreeEntryToVoxelFileGitlab) {
core::AtomicBool shouldQuit{false};

core::DynamicArray<gitlab::TreeEntry> entries;
gitlab::TreeEntry entry1{.path = "data/test.vox",
.url = gitlab::downloadUrl(source.gitlab.repo, source.gitlab.commit, "data/test.vox")};
gitlab::TreeEntry entry1{"data/test.vox",
gitlab::downloadUrl(source.gitlab.repo, source.gitlab.commit, "data/test.vox")};

entries.push_back(entry1);

Expand Down

0 comments on commit 861f3c9

Please sign in to comment.