mirror of https://github.com/WerWolv/ImHex.git
fix: Compile error due to types not being constexpr everywhere
This commit is contained in:
parent
ea7483f9a7
commit
db1373d572
|
@ -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;
|
||||
}
|
||||
}();
|
||||
|
|
Loading…
Reference in New Issue