From 907393dfe617b83ce77c59e439794bbfd7a8b330 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 18 Dec 2022 23:18:24 -0600 Subject: [PATCH] [nostalgia/studio] Fix MSVC issue --- src/nostalgia/studio/lib/filedialog.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/studio/lib/filedialog.hpp b/src/nostalgia/studio/lib/filedialog.hpp index 121ce8f2..3d5c6404 100644 --- a/src/nostalgia/studio/lib/filedialog.hpp +++ b/src/nostalgia/studio/lib/filedialog.hpp @@ -17,7 +17,7 @@ struct FDFilterItem { String name; String spec; constexpr FDFilterItem() noexcept = default; - constexpr FDFilterItem(ox::CRStringView pName, ox::CRStringView pSpec) noexcept { + inline FDFilterItem(ox::CRStringView pName, ox::CRStringView pSpec) noexcept { name.resize(pName.len() + 1); memcpy(name.data(), pName.data(), pName.len()); name.back().value = 0;