From 1ea0702eaa8bbafe4554ed777df61a28c44bae55 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 6 Dec 2015 15:07:59 -0500 Subject: arm_interface: Make GetNumInstructions const --- src/core/arm/arm_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 39a103f7c..533067d4f 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -142,7 +142,7 @@ public: virtual void PrepareReschedule() = 0; /// Getter for num_instructions - u64 GetNumInstructions() { + u64 GetNumInstructions() const { return num_instructions; } -- cgit v1.2.3