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

@ -39,8 +39,8 @@ class Interface : public Kernel::Object {
friend class Manager;
public:
const char *GetName() { return GetPortName(); }
const char *GetTypeName() { return GetPortName(); }
const char *GetName() const { return GetPortName(); }
const char *GetTypeName() const { return GetPortName(); }
static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Service; }
Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Service; }