diff --git a/src/apps/debugger/util/Worker.cpp b/src/apps/debugger/util/Worker.cpp index e395af4dbc..0a3133cbe5 100644 --- a/src/apps/debugger/util/Worker.cpp +++ b/src/apps/debugger/util/Worker.cpp @@ -21,7 +21,7 @@ JobKey::~JobKey() // pragma mark - SimpleJobKey -SimpleJobKey::SimpleJobKey(void* object, uint32 type) +SimpleJobKey::SimpleJobKey(const void* object, uint32 type) : object(object), type(type) diff --git a/src/apps/debugger/util/Worker.h b/src/apps/debugger/util/Worker.h index f3fa550a20..f0b6b176c8 100644 --- a/src/apps/debugger/util/Worker.h +++ b/src/apps/debugger/util/Worker.h @@ -50,11 +50,11 @@ public: struct SimpleJobKey : public JobKey { - void* object; + const void* object; uint32 type; public: - SimpleJobKey(void* object, uint32 type); + SimpleJobKey(const void* object, uint32 type); SimpleJobKey(const SimpleJobKey& other); virtual size_t HashValue() const;