Use nicer syntax for nested namespace definitions

This commit is contained in:
Desour 2023-06-12 22:00:08 +02:00 committed by sfan5
parent e700182f44
commit 8b108ed5f2
4 changed files with 7 additions and 7 deletions

@ -59,9 +59,9 @@ struct ShaderInfo {
Setter of constants for shaders
*/
namespace irr { namespace video {
namespace irr::video {
class IMaterialRendererServices;
} }
}
class IShaderConstantSetter {

@ -32,7 +32,7 @@ class IGameDef;
struct TileSpec;
struct TileDef;
namespace irr { namespace video { class IVideoDriver; } }
namespace irr::video { class IVideoDriver; }
typedef std::vector<video::SColor> Palette;

@ -36,9 +36,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define PATH_DELIM ":"
#endif
namespace irr { namespace io {
namespace irr::io {
class IFileSystem;
}}
}
namespace fs
{

@ -35,10 +35,10 @@ class ModChannel;
class ModStorage;
class ModStorageDatabase;
namespace irr { namespace scene {
namespace irr::scene {
class IAnimatedMesh;
class ISceneManager;
}}
}
struct SubgameSpec;
struct ModSpec;