Kernel: Updated several member functions to be const

This commit is contained in:
bunnei 2014-06-06 00:10:50 -04:00
parent 0deeda54ee
commit 8cac527c94
5 changed files with 13 additions and 13 deletions

View file

@ -44,8 +44,8 @@ class Object : NonCopyable {
public:
virtual ~Object() {}
Handle GetHandle() const { return handle; }
virtual const char* GetTypeName() { return "[BAD KERNEL OBJECT TYPE]"; }
virtual const char* GetName() { return "[UNKNOWN KERNEL OBJECT]"; }
virtual const char* GetTypeName() const { return "[BAD KERNEL OBJECT TYPE]"; }
virtual const char* GetName() const { return "[UNKNOWN KERNEL OBJECT]"; }
virtual Kernel::HandleType GetHandleType() const = 0;
/**