summaryrefslogtreecommitdiffstats
path: root/tests/testparseperformance.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-03 22:29:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitf3e1187e65df8e3fdd989cbee19ee2b9472c6735 (patch)
tree8127944c08d889184c980b1dfd94d611e09357f5 /tests/testparseperformance.cpp
parent7c64822b9b73ef76e2310ff2931f76e29899535e (diff)
downloadsubsurface-f3e1187e65df8e3fdd989cbee19ee2b9472c6735.tar.gz
Cleanup: move parse-function declarations out of "dive.h"
Move the declaration of these functions to "file.h" and "parse.h" according to the translation unit they are defined in. Thus, not all users of "dive.h" have to suck in "sqlite3.h". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests/testparseperformance.cpp')
-rw-r--r--tests/testparseperformance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testparseperformance.cpp b/tests/testparseperformance.cpp
index 64625f269..37393f515 100644
--- a/tests/testparseperformance.cpp
+++ b/tests/testparseperformance.cpp
@@ -2,6 +2,7 @@
#include "testparseperformance.h"
#include "core/dive.h"
#include "core/divelist.h"
+#include "core/file.h"
#include "core/git-access.h"
#include "core/settings/qPrefProxy.h"
#include "core/settings/qPrefCloudStorage.h"
@@ -41,7 +42,6 @@ void TestParsePerformance::initTestCase()
QString localCacheDir(get_local_dir(LARGE_TEST_REPO, "git"));
QDir localCacheDirectory(localCacheDir);
QCOMPARE(localCacheDirectory.removeRecursively(), true);
-
}
void TestParsePerformance::init()