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

@@ -27,8 +27,7 @@
* exception statement from your version.
*/
#ifndef BITTORRENT_SESSION_H
#define BITTORRENT_SESSION_H
#pragma once
#include <memory>
#include <vector>
@@ -794,5 +793,3 @@ namespace BitTorrent
Q_DECLARE_METATYPE(std::shared_ptr<lt::entry>)
const int sharedPtrLtEntryTypeID = qRegisterMetaType<std::shared_ptr<lt::entry>>();
#endif
#endif // BITTORRENT_SESSION_H