mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 08:57:30 +01:00
Use nicer syntax for nested namespace definitions
This commit is contained in:
parent
e700182f44
commit
8b108ed5f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user