1
0
mirror of synced 2025-01-18 17:14:13 +01:00

fix: Compile error due to types not being constexpr everywhere

This commit is contained in:
WerWolv 2024-01-13 00:33:55 +01:00
parent ea7483f9a7
commit db1373d572

View File

@ -676,7 +676,7 @@ namespace hex::plugin::builtin {
if (patternProvider->isReadable() && *m_executionDone) {
return runtime.getPatterns(id);
} else {
constexpr static std::vector<std::shared_ptr<pl::ptrn::Pattern>> empty;
static const std::vector<std::shared_ptr<pl::ptrn::Pattern>> empty;
return empty;
}
}();