mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 19:41:33 +00:00
Do not use const
This commit is contained in:
parent
685c02bd73
commit
3c0c699e42
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ namespace
|
||||||
|
|
||||||
namespace MWLua
|
namespace MWLua
|
||||||
{
|
{
|
||||||
std::string_view getSpecialization(const int32_t val)
|
std::string_view getSpecialization(int32_t val)
|
||||||
{
|
{
|
||||||
if (val == ESM::Class::Stealth)
|
if (val == ESM::Class::Stealth)
|
||||||
return "stealth";
|
return "stealth";
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace MWLua
|
||||||
{
|
{
|
||||||
struct Context;
|
struct Context;
|
||||||
|
|
||||||
std::string_view getSpecialization(const int32_t val);
|
std::string_view getSpecialization(int32_t val);
|
||||||
void addActorStatsBindings(sol::table& actor, const Context& context);
|
void addActorStatsBindings(sol::table& actor, const Context& context);
|
||||||
void addNpcStatsBindings(sol::table& npc, const Context& context);
|
void addNpcStatsBindings(sol::table& npc, const Context& context);
|
||||||
sol::table initCoreStatsBindings(const Context& context);
|
sol::table initCoreStatsBindings(const Context& context);
|
||||||
|
|
Loading…
Reference in a new issue