replace include guards with pragma once

This commit is contained in:
MihailRis
2024-08-10 01:57:59 +03:00
parent f43cc93cd2
commit de5c75d782
164 changed files with 166 additions and 656 deletions
+1 -4
View File
@@ -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 -4
View File
@@ -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
View File
@@ -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_