diff options
author | jan Iversen <jani@apache.org> | 2018-07-05 22:59:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-06 04:36:40 -0700 |
commit | efab865b07a8ffab4bc92a56d7d8d193f22095fa (patch) | |
tree | fe92025b54d8040f74c09c0b4bb66f454ff02acb /tests | |
parent | 19803ab3c30c3a77929de49aed19584e9de2f117 (diff) | |
download | subsurface-efab865b07a8ffab4bc92a56d7d8d193f22095fa.tar.gz |
tests: make testpreferences.h loadable independent of testdive
set #ifdef TESTPREFERENCES in testpreferences.h so it can be loaded with other header files
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testpreferences.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testpreferences.h b/tests/testpreferences.h index a66053474..03c2b9490 100644 --- a/tests/testpreferences.h +++ b/tests/testpreferences.h @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 -#ifndef TESTDIVESITEDUPLICATION_H -#define TESTDIVESITEDUPLICATION_H +#ifndef TESTPREFERENCES_H +#define TESTPREFERENCES_H #include <QTest> #include <functional> @@ -13,4 +13,4 @@ private slots: void testPreferences(); }; -#endif // TESTDIVESITEDUPLICATION_H +#endif // TESTPREFERENCES_H |