Switched to the #pragma once system
This commit is contained in:
@@ -19,12 +19,9 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef CHARACTERAPI_HPP_
|
||||
#define CHARACTERAPI_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "lua.hpp"
|
||||
|
||||
#define TORTUGA_CHARACTER_API "character"
|
||||
LUAMOD_API int openCharacterAPI(lua_State* L);
|
||||
|
||||
#endif
|
||||
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef CHARACTERDATA_HPP_
|
||||
#define CHARACTERDATA_HPP_
|
||||
#pragma once
|
||||
|
||||
//components
|
||||
#include "character_defines.hpp"
|
||||
@@ -47,5 +46,3 @@ private:
|
||||
std::string handle;
|
||||
std::string avatar;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef CHARACTERMANAGER_HPP_
|
||||
#define CHARACTERMANAGER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "character_data.hpp"
|
||||
#include "singleton.hpp"
|
||||
@@ -66,5 +65,3 @@ private:
|
||||
std::map<int, CharacterData> elementMap;
|
||||
sqlite3* database = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,12 +19,9 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef CHARACTERMANAGERAPI_HPP_
|
||||
#define CHARACTERMANAGERAPI_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "lua.hpp"
|
||||
|
||||
#define TORTUGA_CHARACTER_MANAGER_API "character_manager"
|
||||
LUAMOD_API int openCharacterManagerAPI(lua_State* L);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user