Fix compilation error in DiveComputerList destructor on MacOSX

The compiler on MacOSX seems stricter than others:

qthelper.cpp: In destructor ‘DiveComputerList::~DiveComputerList()’:
qthelper.cpp:10: error: expected class-name before ‘(’ token

Fixed with help from http://stackoverflow.com/a/14777627/13365

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Henrik Brautaset Aronsen 2013-06-18 14:29:35 +02:00 committed by Dirk Hohndel
parent 0773172f66
commit 9364436264

View file

@ -1,4 +1,5 @@
#include "qthelper.h"
#include <QMap>
DiveComputerList::DiveComputerList()
{
@ -7,7 +8,7 @@ DiveComputerList::DiveComputerList()
DiveComputerList::~DiveComputerList()
{
dcMap.~QMap();
}
bool DiveComputerNode::operator == (const DiveComputerNode &a) const {