summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp
index de0c8bba9..5b4fb72b3 100644
--- a/core/subsurface-qt/DiveObjectHelper.cpp
+++ b/core/subsurface-qt/DiveObjectHelper.cpp
@@ -67,16 +67,6 @@ DiveObjectHelper::DiveObjectHelper(struct dive *d) :
{
}
-DiveObjectHelper::operator bool() const
-{
- return !!m_dive;
-}
-
-bool DiveObjectHelper::operator!() const
-{
- return !m_dive;
-}
-
int DiveObjectHelper::number() const
{
return m_dive->number;