aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--range.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/range.cpp b/range.cpp
index 6881f98..b713259 100644
--- a/range.cpp
+++ b/range.cpp
@@ -11,9 +11,9 @@ void Range::setValue(qint64 s,qint64 e)
m_end=e;
}
-bool Range::isValid(Die m) const
+bool Range::isValid(Die* m) const
{
- if((m.getValue()>=m_start)&&(m.getValue()<=m_end))
+ if((m->getValue()>=m_start)&&(m->getValue()<=m_end))
{
return true;
}