diff options
Diffstat (limited to 'gentoobrowse-api/service/utils')
-rw-r--r-- | gentoobrowse-api/service/utils/ebuildCacheParser.cpp | 2 | ||||
-rw-r--r-- | gentoobrowse-api/service/utils/ebuildCacheParser.h | 4 | ||||
-rw-r--r-- | gentoobrowse-api/service/utils/xmlUtils.cpp | 4 | ||||
-rw-r--r-- | gentoobrowse-api/service/utils/xmlUtils.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/gentoobrowse-api/service/utils/ebuildCacheParser.cpp b/gentoobrowse-api/service/utils/ebuildCacheParser.cpp index c3ac689..bbe804e 100644 --- a/gentoobrowse-api/service/utils/ebuildCacheParser.cpp +++ b/gentoobrowse-api/service/utils/ebuildCacheParser.cpp @@ -2,7 +2,7 @@ namespace Gentoo { namespace Utils { - EbuildCacheParser::EbuildCacheParser(const boost::filesystem::path & p) : + EbuildCacheParser::EbuildCacheParser(const std::filesystem::path & p) : AdHoc::FileUtils::MemMap(p) { auto chardata = sv(); diff --git a/gentoobrowse-api/service/utils/ebuildCacheParser.h b/gentoobrowse-api/service/utils/ebuildCacheParser.h index ca6d6f4..6874d40 100644 --- a/gentoobrowse-api/service/utils/ebuildCacheParser.h +++ b/gentoobrowse-api/service/utils/ebuildCacheParser.h @@ -5,7 +5,7 @@ #include <map> #include <string_view> #include <optional> -#include <boost/filesystem/path.hpp> +#include <filesystem> #include <glibmm/ustring.h> namespace Gentoo { @@ -14,7 +14,7 @@ namespace Gentoo { public: typedef std::map<std::string_view, const std::string_view> KVs; - EbuildCacheParser(const boost::filesystem::path & p); + EbuildCacheParser(const std::filesystem::path & p); std::optional<Glib::ustring> get(const std::string & key) const; std::optional<std::string_view> getRange(const std::string & key) const; diff --git a/gentoobrowse-api/service/utils/xmlUtils.cpp b/gentoobrowse-api/service/utils/xmlUtils.cpp index 03078d4..f938efa 100644 --- a/gentoobrowse-api/service/utils/xmlUtils.cpp +++ b/gentoobrowse-api/service/utils/xmlUtils.cpp @@ -2,8 +2,8 @@ namespace Gentoo { namespace Utils { - XmlDoc::XmlDoc(const boost::filesystem::path & path) : - xmlpp::DomParser(path.string()) + XmlDoc::XmlDoc(const std::filesystem::path & path) : + xmlpp::DomParser(path) { } diff --git a/gentoobrowse-api/service/utils/xmlUtils.h b/gentoobrowse-api/service/utils/xmlUtils.h index a02df6c..3e71f1d 100644 --- a/gentoobrowse-api/service/utils/xmlUtils.h +++ b/gentoobrowse-api/service/utils/xmlUtils.h @@ -2,14 +2,14 @@ #define GENTOOBROWSE_API_SERVICE_XMLUTILS_H #include <libxml++/parsers/domparser.h> -#include <boost/filesystem/path.hpp> +#include <filesystem> #include <optional> namespace Gentoo { namespace Utils { class XmlDoc : public xmlpp::DomParser { public: - XmlDoc(const boost::filesystem::path &); + XmlDoc(const std::filesystem::path &); std::optional<Glib::ustring> getXPathValue(const Glib::ustring &); }; |