mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31: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 OBJECT_HPP_
|
||||
#define OBJECT_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -22,5 +21,3 @@ public:
|
|||
virtual void update(float delta) { }
|
||||
virtual void destroyed() { }
|
||||
};
|
||||
|
||||
#endif // OBJECT_HPP_
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef SERIALIZABLE_HPP_
|
||||
#define SERIALIZABLE_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "coders/json.hpp"
|
||||
|
||||
|
|
@ -11,5 +10,3 @@ public:
|
|||
virtual std::unique_ptr<dynamic::Map> serialize() const = 0;
|
||||
virtual void deserialize(dynamic::Map* src) = 0;
|
||||
};
|
||||
|
||||
#endif // SERIALIZABLE_HPP_
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef INTERFACES_TASK_HPP_
|
||||
#define INTERFACES_TASK_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "typedefs.hpp"
|
||||
|
||||
|
|
@ -16,6 +15,3 @@ public:
|
|||
virtual void waitForEnd() = 0;
|
||||
virtual void terminate() = 0;
|
||||
};
|
||||
|
||||
#endif // INTERFACES_TASK_HPP_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue