Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Nov 1, 2024
1 parent 8da2b9c commit e83b521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/device/gpoddevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class GPodDevice : public ConnectedDevice, public virtual MusicStorage {
bool WriteDatabase(QString &error_text);

protected:
SharedPtr <TaskManager> task_manager_;
const SharedPtr <TaskManager> task_manager_;
GPodLoader *loader_;
QThread *loader_thread_;

Expand Down
2 changes: 1 addition & 1 deletion src/device/mtpdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class MtpDevice : public ConnectedDevice {
private:
static bool sInitializedLibMTP;

SharedPtr<TaskManager> task_manager_;
const SharedPtr<TaskManager> task_manager_;

MtpLoader *loader_;
QThread *loader_thread_;
Expand Down

0 comments on commit e83b521

Please sign in to comment.