replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_CONTENT_HPP_
|
||||
#define CONTENT_CONTENT_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@@ -230,5 +229,3 @@ public:
|
||||
const UptrsMap<std::string, ContentPackRuntime>& getPacks() const;
|
||||
const UptrsMap<std::string, rigging::SkeletonConfig>& getSkeletons() const;
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_CONTENT_BUILDER_HPP_
|
||||
#define CONTENT_CONTENT_BUILDER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
@@ -71,5 +70,3 @@ public:
|
||||
|
||||
std::unique_ptr<Content> build();
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_BUILDER_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_CONTENT_LUT_HPP_
|
||||
#define CONTENT_CONTENT_LUT_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
@@ -113,5 +112,3 @@ public:
|
||||
|
||||
std::vector<contententry> getMissingContent() const;
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_LUT_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_CONTENT_LOADER_HPP_
|
||||
#define CONTENT_CONTENT_LOADER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
@@ -64,5 +63,3 @@ public:
|
||||
void fixPackIndices();
|
||||
void load();
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_LOADER_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_CONTENT_PACK_HPP_
|
||||
#define CONTENT_CONTENT_PACK_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <stdexcept>
|
||||
@@ -115,5 +114,3 @@ public:
|
||||
return env;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_PACK_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_PACKS_MANAGER_HPP_
|
||||
#define CONTENT_PACKS_MANAGER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <unordered_map>
|
||||
@@ -47,5 +46,3 @@ public:
|
||||
const std::vector<ContentPack>& packs
|
||||
);
|
||||
};
|
||||
|
||||
#endif // CONTENT_PACKS_MANAGER_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef CONTENT_CONTENT_FWD_HPP_
|
||||
#define CONTENT_CONTENT_FWD_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "typedefs.hpp"
|
||||
|
||||
@@ -12,5 +11,3 @@ enum class ResourceType : size_t { CAMERA, LAST = CAMERA };
|
||||
|
||||
inline constexpr auto RESOURCE_TYPES_COUNT =
|
||||
static_cast<size_t>(ResourceType::LAST) + 1;
|
||||
|
||||
#endif // CONTENT_CONTENT_FWD_HPP_
|
||||
|
||||
Reference in New Issue
Block a user