summaryrefslogtreecommitdiff
path: root/cpu/static_inst.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/static_inst.hh')
-rw-r--r--cpu/static_inst.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/static_inst.hh b/cpu/static_inst.hh
index c47fa32db..b5022af5b 100644
--- a/cpu/static_inst.hh
+++ b/cpu/static_inst.hh
@@ -441,7 +441,7 @@ class StaticInstPtr : public RefCountingPtr<StaticInst<ISA> >
/// Convert to pointer to StaticInstBase class.
operator const StaticInstBasePtr()
{
- return get();
+ return this->get();
}
};