Skip to content

Commit

Permalink
Use nicer syntax for nested namespace definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour authored and sfan5 committed Jun 15, 2023
1 parent e700182 commit 8b108ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/client/shader.h
Expand Up @@ -59,9 +59,9 @@ struct ShaderInfo {
Setter of constants for shaders
*/

namespace irr { namespace video {
namespace irr::video {
class IMaterialRendererServices;
} }
}


class IShaderConstantSetter {
Expand Down
2 changes: 1 addition & 1 deletion src/client/tile.h
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/filesys.h
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions src/gamedef.h
Expand Up @@ -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;
Expand Down

0 comments on commit 8b108ed

Please sign in to comment.