diff --git a/src/Profile/Profile.cpp b/src/Profile/Profile.cpp index 024be15..d1998ae 100644 --- a/src/Profile/Profile.cpp +++ b/src/Profile/Profile.cpp @@ -355,7 +355,7 @@ auto Profile::getResource(const char* container, Int id) -> Int { return 0; } - static auto predicate = [&id](UnrealPropertyBase::ptr& prop){ + auto predicate = [&id](UnrealPropertyBase::ptr& prop){ auto res_prop = static_cast(prop.get()); return res_prop->id == id; };