aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.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/variable.hxx
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/variable.hxx')
-rw-r--r--libbuild2/variable.hxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx
index 51cdf49..6a2c681 100644
--- a/libbuild2/variable.hxx
+++ b/libbuild2/variable.hxx
@@ -14,6 +14,7 @@
#include <libbutl/multi-index.mxx> // map_key
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
#include <libbuild2/context.hxx>
@@ -34,10 +35,6 @@ namespace build2
// during a phase other than load must make sure the variable has already
// been typified.
- class value;
- struct variable;
- struct lookup;
-
struct value_type
{
const char* name; // Type name for diagnostics.
@@ -481,8 +478,6 @@ namespace build2
// A variable can be undefined, NULL, or contain a (potentially empty)
// value.
//
- class variable_map;
-
struct lookup
{
using value_type = build2::value;