Skip to content

Commit 00cc3dd

Browse files
authored
msvc makes me wanna cry
1 parent be07090 commit 00cc3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Advanced.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace {
6161
}
6262

6363
std::optional<ModMetadata::IssuesInfo> inputIssues(std::optional<ModMetadata::IssuesInfo> x) {
64-
ModMetadata::IssuesInfo a = x ? *x : ModMetadata::IssuesInfo("");
64+
ModMetadata::IssuesInfo a = x ? *x : ModMetadata::IssuesInfo{"", std::nullopt};
6565
std::string url = a.url ? *a.url : "";
6666
bool inputInfo = ImGui::InputText("issues.info", &a.info);
6767
bool inputUrl = ImGui::InputText("issues.url", &url);

0 commit comments

Comments
 (0)