[PATCH] TestPlan: include subsurfacestartup.h

Rick Walsh rickmwalsh at gmail.com
Tue Oct 6 04:23:57 PDT 2015


Commit 9d8b0ad introduces the copy_prefs function, and uses it to replace prefs
= default_prefs. We need to include subsurfacestartup.h for it to work in
testplan.cpp, otherwise TestPlan_build fails.

Signed-off-by: Rick Walsh <rickmwalsh at gmail.com>
---
 tests/testplan.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/testplan.cpp b/tests/testplan.cpp
index e730704..7535500 100644
--- a/tests/testplan.cpp
+++ b/tests/testplan.cpp
@@ -2,6 +2,7 @@
 #include "testplan.h"
 #include "planner.h"
 #include "units.h"
+#include "subsurfacestartup.h"
 #include "qthelper.h"
 #include <QDebug>
 
-- 
2.4.3



More information about the subsurface mailing list