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 ASSETS_ASSETS_HPP_
#define ASSETS_ASSETS_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -113,5 +112,3 @@ void assetload::assets_setup(const Assets* assets) {
}
}
}
#endif // ASSETS_ASSETS_HPP_
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef ASSETS_ASSETS_LOADER_HPP_
#define ASSETS_ASSETS_LOADER_HPP_
#pragma once
#include <filesystem>
#include <functional>
@@ -104,5 +103,3 @@ public:
const std::vector<std::filesystem::path>& alternatives
);
};
#endif // ASSETS_ASSETS_LOADER_HPP_
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef ASSETS_ASSET_LOADERS_HPP_
#define ASSETS_ASSET_LOADERS_HPP_
#pragma once
#include <memory>
#include <string>
@@ -64,5 +63,3 @@ namespace assetload {
const std::shared_ptr<AssetCfg>& settings
);
}
#endif // ASSETS_ASSET_LOADERS_HPP_