[App] Remove inadvertent constexpr.
This commit is contained in:
parent
de50780107
commit
4ca0d0a656
|
@ -89,7 +89,7 @@ class Factory {
|
|||
|
||||
void Add(const std::string& name,
|
||||
std::function<std::unique_ptr<T>(Args...)> instantiate) {
|
||||
constexpr auto always_available = []() { return true; };
|
||||
auto always_available = []() { return true; };
|
||||
Add(name, always_available, instantiate);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue