diff options
Diffstat (limited to 'gentoobrowse-api/service/depend.h')
-rw-r--r-- | gentoobrowse-api/service/depend.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/gentoobrowse-api/service/depend.h b/gentoobrowse-api/service/depend.h index 7a6af44..7cba039 100644 --- a/gentoobrowse-api/service/depend.h +++ b/gentoobrowse-api/service/depend.h @@ -1,23 +1,18 @@ -#ifndef GENTOOBROWSE_SERVICE_DEPEND_H -#define GENTOOBROWSE_SERVICE_DEPEND_H +#pragma once #include <istream> #include <lexer.h> #include <portage-models.h> #include <vector> -namespace Portage { - namespace Utils { - class Depend : AdHoc::Lexer { - private: - Depend(); - Gentoo::StringList when; +namespace Portage::Utils { + class Depend : AdHoc::Lexer { + private: + Depend(); + Gentoo::StringList when; - public: - static std::vector<Gentoo::DependencyPtr> parse(const std::string_view &); - std::vector<Gentoo::DependencyPtr> ds; - }; - } + public: + static std::vector<Gentoo::DependencyPtr> parse(const std::string_view &); + std::vector<Gentoo::DependencyPtr> ds; + }; } - -#endif |