mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Use move construct for shared pointers
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
||||
class Data;
|
||||
|
||||
explicit Digest32(QSharedDataPointer<Data> dataPtr)
|
||||
: m_dataPtr {dataPtr}
|
||||
: m_dataPtr {std::move(dataPtr)}
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user