aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/operation.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/config/operation.hxx')
-rw-r--r--libbuild2/config/operation.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/libbuild2/config/operation.hxx b/libbuild2/config/operation.hxx
index ded3c8b..1662941 100644
--- a/libbuild2/config/operation.hxx
+++ b/libbuild2/config/operation.hxx
@@ -4,8 +4,6 @@
#ifndef LIBBUILD2_CONFIG_OPERATION_HXX
#define LIBBUILD2_CONFIG_OPERATION_HXX
-#include <set>
-
#include <libbuild2/types.hxx>
#include <libbuild2/utility.hxx>
@@ -17,8 +15,8 @@ namespace build2
{
class module;
- extern const meta_operation_info mo_configure;
- extern const meta_operation_info mo_disfigure;
+ LIBBUILD2_SYMEXPORT extern const meta_operation_info mo_configure;
+ LIBBUILD2_SYMEXPORT extern const meta_operation_info mo_disfigure;
const string&
preprocess_create (context&,
@@ -29,7 +27,7 @@ namespace build2
// Configuration exporting.
//
- using project_set = std::set<const scope*>; // Pointers for comparison.
+ using project_set = set<const scope*>; // Pointers for comparison.
// If inherit is false, then don't rely on inheritance from outer scopes
// (used for config.config.save/$config.save()). In this case the already
@@ -39,7 +37,7 @@ namespace build2
save_config (const scope& rs,
ostream&, const path_name&,
bool inherit,
- module&,
+ const module&,
const project_set&);
// See config.config.hermetic.environment.