mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Reduce padding in structure
Log::Msg originally takes 32 bytes, now shrinks to 24 bytes. Log::Peer originally takes 40 bytes, now shrinks to 32 bytes.
This commit is contained in:
@@ -53,17 +53,17 @@ namespace Log
|
||||
struct Msg
|
||||
{
|
||||
int id;
|
||||
qint64 timestamp;
|
||||
MsgType type;
|
||||
qint64 timestamp;
|
||||
QString message;
|
||||
};
|
||||
|
||||
struct Peer
|
||||
{
|
||||
int id;
|
||||
bool blocked;
|
||||
qint64 timestamp;
|
||||
QString ip;
|
||||
bool blocked;
|
||||
QString reason;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user