mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-07 19:30:04 -04:00
no const
This commit is contained in:
parent
7c665643ad
commit
31abd366ff
@ -101,7 +101,7 @@ namespace
|
|||||||
{
|
{
|
||||||
const sol::table services = rec["servicesOffered"];
|
const sol::table services = rec["servicesOffered"];
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
auto setFlag = [&](const std::string_view& key, int mask) {
|
auto setFlag = [&](std::string_view key, int mask) {
|
||||||
if (services[key] != sol::nil && services[key])
|
if (services[key] != sol::nil && services[key])
|
||||||
flags |= mask;
|
flags |= mask;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user