fix WorldFiles forward declaration

This commit is contained in:
MihailRis 2024-08-11 18:40:35 +03:00
parent 4f2448daed
commit 3adf97b1b8
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,8 @@ static constexpr size_t get_entries_count(
std::shared_ptr<ContentLUT> ContentLUT::create(
const std::shared_ptr<WorldFiles>& worldFiles,
const fs::path& filename, const Content* content
const fs::path& filename,
const Content* content
) {
auto worldInfo = worldFiles->readWorldInfo();
if (!worldInfo.has_value()) {

View File

@ -17,7 +17,7 @@ struct contententry {
std::string name;
};
struct WorldFiles;
class WorldFiles;
template <typename T, class U>
class ContentUnitLUT {