mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Remove const in declarations' arguments that are passed by value
This commit is contained in:
@@ -40,6 +40,6 @@ namespace Utils
|
||||
|
||||
// Mimic QByteArray::mid(pos, len) but instead of returning a full-copy,
|
||||
// we only return a partial view
|
||||
const QByteArray midView(const QByteArray &in, const int pos, const int len = -1);
|
||||
const QByteArray midView(const QByteArray &in, int pos, int len = -1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user