OSX compile fix

This commit is contained in:
brunoherbelin
2021-02-15 09:03:30 +01:00
parent e37b21760e
commit 885ce67174
3 changed files with 7 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ class SessionLoader : public Visitor {
public:
SessionLoader(Session *session, uint recursion = 0);
SessionLoader(Session *session, int recursion = 0);
inline Session *session() const { return session_; }
void load(tinyxml2::XMLElement *sessionNode);
@@ -58,7 +58,7 @@ protected:
tinyxml2::XMLElement *xmlCurrent_;
Session *session_;
std::list<uint64_t> sources_id_;
uint recursion_;
int recursion_;
static void XMLToNode(tinyxml2::XMLElement *xml, Node &n);
};
@@ -70,7 +70,7 @@ class SessionCreator : public SessionLoader {
void loadConfig(tinyxml2::XMLElement *viewsNode);
public:
SessionCreator(uint recursion = 0);
SessionCreator(int recursion = 0);
void load(const std::string& filename);