aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/event.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-06 00:10:50 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-13 09:51:10 -0400
commit8cac527c943253a9471849d17b1520f4762fbb5c (patch)
treed771a676b1e09657b336aece8d458c66fcce1601 /src/core/hle/kernel/event.cpp
parent0deeda54eefb18aaf6a62b8ec139cfe9bd21769c (diff)
Kernel: Updated several member functions to be const
Diffstat (limited to 'src/core/hle/kernel/event.cpp')
-rw-r--r--src/core/hle/kernel/event.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp
index 36c7dcbc..72a190f8 100644
--- a/src/core/hle/kernel/event.cpp
+++ b/src/core/hle/kernel/event.cpp
@@ -16,10 +16,10 @@ namespace Kernel {
class Event : public Object {
public:
- const char* GetTypeName() { return "Event"; }
- const char* GetName() { return name.c_str(); }
+ const char* GetTypeName() const { return "Event"; }
+ const char* GetName() const { return name.c_str(); }
- static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Event; }
+ static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Event; }
Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Event; }
ResetType intitial_reset_type; ///< ResetType specified at Event initialization