use #pragma once

This commit is contained in:
Garux
2021-10-22 02:19:50 +03:00
parent 3362f29500
commit bf6389fc26
374 changed files with 400 additions and 1565 deletions

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_MODULESYSTEM_MODULEREGISTRY_H )
#define INCLUDED_MODULESYSTEM_MODULEREGISTRY_H
#pragma once
#include "generic/static.h"
#include <list>
@@ -57,6 +56,3 @@ public:
StaticModuleRegistryList::instance().addModule( module );
}
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_MODULESYSTEM_MODULESMAP_H )
#define INCLUDED_MODULESYSTEM_MODULESMAP_H
#pragma once
#include "modulesystem.h"
#include "string/string.h"
@@ -134,5 +133,3 @@ public:
return m_modules;
}
};
#endif

View File

@@ -19,8 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined( INCLUDED_MODULESYSTEM_SINGLETONMODULE_H )
#define INCLUDED_MODULESYSTEM_SINGLETONMODULE_H
#pragma once
#include "modulesystem.h"
#include <cstddef>
@@ -126,6 +125,3 @@ public:
}
}
};
#endif