diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:47:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:20:40 +0200 |
| commit | d13f6bb870cdda71257f665367be8ef9fca86255 (patch) | |
| tree | 52e214718478f1e52856572f5aa1a2ac58537f9f /src/serverinfo.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/serverinfo.h')
| -rw-r--r-- | src/serverinfo.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/serverinfo.h b/src/serverinfo.h index 0bec89cc..00b47643 100644 --- a/src/serverinfo.h +++ b/src/serverinfo.h @@ -1,9 +1,9 @@ #ifndef SERVERINFO_H #define SERVERINFO_H -#include <QString> #include <QDate> #include <QMetaType> +#include <QString> class ServerInfo { @@ -11,9 +11,8 @@ public: using SpeedList = std::vector<int>; ServerInfo(); - ServerInfo( - QString name, bool premium, QDate lastSeen, int preferred, - SpeedList lastDownloads); + ServerInfo(QString name, bool premium, QDate lastSeen, int preferred, + SpeedList lastDownloads); const QString& name() const; @@ -40,12 +39,11 @@ private: Q_DECLARE_METATYPE(ServerInfo) - class ServerList { public: - using container = std::vector<ServerInfo>; - using iterator = container::iterator; + using container = std::vector<ServerInfo>; + using iterator = container::iterator; using const_iterator = container::const_iterator; void add(ServerInfo s); @@ -67,4 +65,4 @@ private: container m_servers; }; -#endif // SERVERINFO_H +#endif // SERVERINFO_H |
