diff --git a/libs/parser/ThreadedDeclParser.h b/libs/parser/ThreadedDeclParser.h index 3649fa4658..5c555a8de6 100644 --- a/libs/parser/ThreadedDeclParser.h +++ b/libs/parser/ThreadedDeclParser.h @@ -19,7 +19,7 @@ class ThreadedDeclParser : public util::ThreadedDefLoader { public: - using LoadFunction = util::ThreadedDefLoader::LoadFunction; + using LoadFunction = typename util::ThreadedDefLoader::LoadFunction; private: decl::Type _declType; @@ -31,7 +31,7 @@ class ThreadedDeclParser : // Construct a parser traversing all files matching the given extension in the given VFS path // Subclasses need to implement the parse(std::istream) overload for this scenario ThreadedDeclParser(decl::Type declType, const std::string& baseDir, const std::string& extension, std::size_t depth = 1) : - util::ThreadedDefLoader(std::bind(&ThreadedDeclParser::doParse, this)), + util::ThreadedDefLoader(std::bind(&ThreadedDeclParser::doParse, this)), _baseDir(baseDir), _extension(extension), _depth(depth), @@ -40,7 +40,7 @@ class ThreadedDeclParser : public: // Legacy constructor - ThreadedDeclParser(const std::string& baseDir, const std::string& extension, + ThreadedDeclParser(const std::string& baseDir, const std::string& extension, const LoadFunction& loadFunc) : ThreadedDeclParser(baseDir, extension, 0, loadFunc) {} @@ -48,7 +48,7 @@ class ThreadedDeclParser : // Legacy constructor ThreadedDeclParser(const std::string& baseDir, const std::string& extension, std::size_t depth, const LoadFunction& loadFunc) : - util::ThreadedDefLoader(loadFunc), + util::ThreadedDefLoader(loadFunc), _baseDir(baseDir), _extension(extension), _depth(depth)