aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/config/utility.hxx')
-rw-r--r--libbuild2/config/utility.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/libbuild2/config/utility.hxx b/libbuild2/config/utility.hxx
index 050339a..b998e3c 100644
--- a/libbuild2/config/utility.hxx
+++ b/libbuild2/config/utility.hxx
@@ -11,6 +11,8 @@
#include <libbuild2/scope.hxx>
#include <libbuild2/variable.hxx>
+#include <libbuild2/config/types.hxx>
+
#include <libbuild2/export.hxx>
namespace build2
@@ -507,14 +509,6 @@ namespace build2
//
// Throws invalid_argument if the passed variable is not config.*.
//
- enum class variable_origin
- {
- undefined, // Undefined.
- default_, // Default value from the config directive.
- buildfile, // Value from a buildfile, normally config.build.
- override_ // Value from a command line override.
- };
-
LIBBUILD2_SYMEXPORT pair<variable_origin, lookup>
origin (const scope& rs, const string& name);