mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 00:22:31 -06:00
Use #pragma once instead of include guards
This commit is contained in:
@@ -66,8 +66,7 @@
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef QTLOCALPEER_H
|
||||
#define QTLOCALPEER_H
|
||||
#pragma once
|
||||
|
||||
#include "qtlockedfile.h"
|
||||
|
||||
@@ -99,5 +98,3 @@ protected:
|
||||
private:
|
||||
static const char* ack;
|
||||
};
|
||||
|
||||
#endif // QTLOCALPEER_H
|
||||
|
||||
@@ -66,8 +66,7 @@
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef QTLOCKEDFILE_H
|
||||
#define QTLOCKEDFILE_H
|
||||
#pragma once
|
||||
|
||||
#include <QFile>
|
||||
|
||||
@@ -112,5 +111,3 @@ namespace QtLP_Private
|
||||
LockMode m_lock_mode;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user