Use #pragma once instead of include guards

This commit is contained in:
FranciscoPombal
2020-12-10 17:56:37 +00:00
parent aaeffe3846
commit 6152b83405
122 changed files with 122 additions and 488 deletions

View File

@@ -26,8 +26,7 @@
* exception statement from your version.
*/
#ifndef PEERLISTWIDGET_H
#define PEERLISTWIDGET_H
#pragma once
#include <QHash>
#include <QSet>
@@ -109,5 +108,3 @@ private:
QHash<QHostAddress, QSet<QStandardItem *>> m_itemsByIP; // must be kept in sync with `m_peerItems`
bool m_resolveCountries;
};
#endif // PEERLISTWIDGET_H