1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-23 06:41:08 +00:00

Move some code to unnamed namespace

This commit is contained in:
Andrei Kortunov 2023-08-18 14:30:37 +04:00
parent a1b7c0c3d5
commit 1c0ced15c6

View File

@ -12,7 +12,7 @@
#include "luamanagerimp.hpp"
namespace MWLua
namespace
{
struct PlaySoundArgs
{
@ -55,7 +55,10 @@ namespace MWLua
return MWSound::PlayMode::NoEnvNoScaling;
return MWSound::PlayMode::NoEnv;
}
}
namespace MWLua
{
sol::table initAmbientPackage(const Context& context)
{
sol::table api(context.mLua->sol(), sol::create);