mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
replace include guards with pragma once
This commit is contained in:
parent
f43cc93cd2
commit
de5c75d782
164 changed files with 166 additions and 656 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef LOGIC_SCRIPTING_LUA_LIBENTITY_HPP_
|
||||
#define LOGIC_SCRIPTING_LUA_LIBENTITY_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
|
||||
|
|
@ -18,5 +17,3 @@ inline std::optional<Entity> get_entity(lua::State* L, int idx) {
|
|||
auto level = scripting::controller->getLevel();
|
||||
return level->entities->get(id);
|
||||
}
|
||||
|
||||
#endif // LOGIC_SCRIPTING_LUA_LIBENTITY_HPP_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue