mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
fix: Compile error due to types not being constexpr everywhere
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user