aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/diagnostics.hxx
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/diagnostics.hxx
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/diagnostics.hxx')
-rw-r--r--libbuild2/diagnostics.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/libbuild2/diagnostics.hxx b/libbuild2/diagnostics.hxx
index 26f602a..6d06dec 100644
--- a/libbuild2/diagnostics.hxx
+++ b/libbuild2/diagnostics.hxx
@@ -8,6 +8,7 @@
#include <libbutl/diagnostics.mxx>
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
#include <libbuild2/export.hxx>
@@ -441,11 +442,6 @@ namespace build2
//
// info << "while " << diag_doing (a, t);
//
- class scope;
- class target;
- class context;
- struct action;
-
struct diag_phrase
{
const action& a;