mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:53:23 +00:00
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:
parent
0773172f66
commit
9364436264
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue