aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
commite5d4c47040e526f0302a53c75ccf1f8c3f5981a1 (patch)
tree04fbc5c0838952a002c42c83599f74cc5a0ee9cd /libbuild2/test
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/test')
-rw-r--r--libbuild2/test/script/parser.hxx3
-rw-r--r--libbuild2/test/script/script.hxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/libbuild2/test/script/parser.hxx b/libbuild2/test/script/parser.hxx
index 4d3fa49..c8a1408 100644
--- a/libbuild2/test/script/parser.hxx
+++ b/libbuild2/test/script/parser.hxx
@@ -6,6 +6,7 @@
#define LIBBUILD2_TEST_SCRIPT_PARSER_HXX
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
#include <libbuild2/parser.hxx>
@@ -16,8 +17,6 @@
namespace build2
{
- class context;
-
namespace test
{
namespace script
diff --git a/libbuild2/test/script/script.hxx b/libbuild2/test/script/script.hxx
index 8b34be8..30bc6e8 100644
--- a/libbuild2/test/script/script.hxx
+++ b/libbuild2/test/script/script.hxx
@@ -8,6 +8,7 @@
#include <set>
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
#include <libbuild2/variable.hxx>
@@ -18,8 +19,6 @@
namespace build2
{
- class target;
-
namespace test
{
namespace script