From 66438e8e5f6fcf77ef6d4c32fda000168b37cd7a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Jun 2022 10:34:18 +0200 Subject: Move config::variable_visibility to separate types.hxx header --- libbuild2/config/utility.hxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'libbuild2/config/utility.hxx') 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 #include +#include + #include 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 origin (const scope& rs, const string& name); -- cgit v1.1