1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +00:00

Merge branch 'anonymous_namespace' into 'master'

Move some code to unnamed namespace

See merge request OpenMW/openmw!3351
This commit is contained in:
psi29a 2023-08-19 09:30:09 +00:00
commit ebf803a00b

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);