[App] Remove inadvertent constexpr.

This commit is contained in:
Rick Gibbed 2020-02-22 13:50:17 -06:00 committed by GitHub
parent de50780107
commit 4ca0d0a656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}