fix WorldFiles forward declaration
This commit is contained in:
parent
4f2448daed
commit
3adf97b1b8
@ -27,7 +27,8 @@ static constexpr size_t get_entries_count(
|
|||||||
|
|
||||||
std::shared_ptr<ContentLUT> ContentLUT::create(
|
std::shared_ptr<ContentLUT> ContentLUT::create(
|
||||||
const std::shared_ptr<WorldFiles>& worldFiles,
|
const std::shared_ptr<WorldFiles>& worldFiles,
|
||||||
const fs::path& filename, const Content* content
|
const fs::path& filename,
|
||||||
|
const Content* content
|
||||||
) {
|
) {
|
||||||
auto worldInfo = worldFiles->readWorldInfo();
|
auto worldInfo = worldFiles->readWorldInfo();
|
||||||
if (!worldInfo.has_value()) {
|
if (!worldInfo.has_value()) {
|
||||||
|
|||||||
@ -17,7 +17,7 @@ struct contententry {
|
|||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct WorldFiles;
|
class WorldFiles;
|
||||||
|
|
||||||
template <typename T, class U>
|
template <typename T, class U>
|
||||||
class ContentUnitLUT {
|
class ContentUnitLUT {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user