mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-16 20:16:34 +00:00
no const
This commit is contained in:
parent
7c665643ad
commit
31abd366ff
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ namespace
|
|||
{
|
||||
const sol::table services = rec["servicesOffered"];
|
||||
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])
|
||||
flags |= mask;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue