mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove plannerShared::instance()
This class contains only static functions (i.e. it does not contain any state). There does not seem to be a reason to have an instance of that class. Therefore, remove the instance() function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3b42de66dc
commit
8396b4bf01
4 changed files with 11 additions and 23 deletions
|
@ -6,12 +6,6 @@
|
|||
#include "qt-models/diveplannermodel.h"
|
||||
#include "qt-models/cylindermodel.h"
|
||||
|
||||
plannerShared *plannerShared::instance()
|
||||
{
|
||||
static plannerShared *self = new plannerShared;
|
||||
return self;
|
||||
}
|
||||
|
||||
// Planning values
|
||||
deco_mode plannerShared::planner_deco_mode()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue