summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/palloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/palloc.h')
-rw-r--r--src/lib/netlist/plib/palloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/palloc.h b/src/lib/netlist/plib/palloc.h
index 6b79d410bc8..154656602a6 100644
--- a/src/lib/netlist/plib/palloc.h
+++ b/src/lib/netlist/plib/palloc.h
@@ -157,8 +157,8 @@ public:
r.m_ptr = nullptr;
return *this;
}
- SC * operator ->() { return m_ptr; }
- SC & operator *() { return *m_ptr; }
+ SC * operator ->() const { return m_ptr; }
+ SC & operator *() const { return *m_ptr; }
SC * get() const { return m_ptr; }
private:
SC *m_ptr;