replace include guards with pragma once
This commit is contained in:
@@ -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_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user