Skip to content

Commit

Permalink
Fix compile errors (gcc complains) (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCurle authored Aug 16, 2023
1 parent 0a9e3f1 commit c2ddeb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "core/module-manager-v2.h"
#include <ranges>
#include <algorithm>

namespace ShadowEngine {

Expand Down
4 changes: 2 additions & 2 deletions projs/shadow/shadow-engine/shadow-entity/inc/NodeContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ namespace ShadowEngine::Entities {
NodeContainer<Type> *container;
int chunk_index;

MemoryChunk::Iterator element;
typename MemoryChunk::Iterator element;
public:
Iterator(NodeContainer<Type> *cont, int c_index) :
container(cont),
Expand Down Expand Up @@ -265,7 +265,7 @@ namespace ShadowEngine::Entities {

int GetChunkIndex() const { return chunk_index; }

MemoryChunk::Iterator GetElement() const { return element; }
typename MemoryChunk::Iterator GetElement() const { return element; }

};

Expand Down

0 comments on commit c2ddeb4

Please sign in to comment.