aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-02-02 12:23:30 +0100
committerRenaud G <renaud@rolisteam.org>2019-02-02 12:23:34 +0100
commit210a222b894caa3c8af38ccb6653db0fd8491f6e (patch)
treeaa1f1b33091d4552973c558fdd4106f92a3cb53d /die.cpp
parent35f7acb8eb750631da2018f70b992e8043a1febb (diff)
downloadOneRoll-210a222b894caa3c8af38ccb6653db0fd8491f6e.tar.gz
OneRoll-210a222b894caa3c8af38ccb6653db0fd8491f6e.zip
remove warnings
Diffstat (limited to 'die.cpp')
-rw-r--r--die.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/die.cpp b/die.cpp
index 5ba6137..3d372c8 100644
--- a/die.cpp
+++ b/die.cpp
@@ -155,7 +155,7 @@ void Die::roll(bool adding)
quint64 Die::getFaces() const
{
- return abs(m_maxValue - m_base) + 1;
+ return std::abs(m_maxValue - m_base) + 1;
}
qint64 Die::getLastRolledValue()
{