Skip to content

Commit

Permalink
How were these include guards not caught?
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 19, 2021
1 parent 7fc1d03 commit dec2241
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
5 changes: 1 addition & 4 deletions src/ai/lua/aspect_advancements.hpp
Expand Up @@ -12,8 +12,7 @@
See the COPYING file for more details.
*/

#ifndef UNIT_ADVANCEMENT_ACPECT_H_INCLUDED
#define UNIT_ADVANCEMENT_ACPECT_H_INCLUDED
#pragma once

#include <string>
#include <vector>
Expand All @@ -40,5 +39,3 @@ class unit_advancements_aspect
int ref_;
};
}

#endif
5 changes: 1 addition & 4 deletions src/ai/lua/core.hpp
Expand Up @@ -12,8 +12,7 @@
See the COPYING file for more details.
*/

#ifndef AI_LUA_CORE_HPP
#define AI_LUA_CORE_HPP
#pragma once

#include <memory>

Expand Down Expand Up @@ -84,5 +83,3 @@ class lua_ai_action_handler
};

}//of namespace ai

#endif
5 changes: 1 addition & 4 deletions src/ai/lua/engine_lua.hpp
Expand Up @@ -17,8 +17,7 @@
* @file
*/

#ifndef AI_COMPOSITE_ENGINE_LUA_HPP_INCLUDED
#define AI_COMPOSITE_ENGINE_LUA_HPP_INCLUDED
#pragma once

#include "ai/composite/engine.hpp"

Expand Down Expand Up @@ -91,5 +90,3 @@ class engine_lua : public engine {
};

} //end of namespace ai

#endif
5 changes: 1 addition & 4 deletions src/ai/lua/lua_object.hpp
Expand Up @@ -17,8 +17,7 @@
* Lua object(value) wrapper implementation
*/

#ifndef LUA_OBJECT_HPP_INCLUDED
#define LUA_OBJECT_HPP_INCLUDED
#pragma once

#include "config.hpp"
#include "lua/lua.h"
Expand Down Expand Up @@ -314,5 +313,3 @@ struct aspect_attacks_lua_filter;
template <>
std::shared_ptr<aspect_attacks_lua_filter> lua_object<aspect_attacks_lua_filter>::to_type(lua_State *L, int n);
} // end of namespace ai

#endif

0 comments on commit dec2241

Please sign in to comment.