Debugger: Add const qualifier to JobKey object parameter.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user