From 3a4d255681a623b60e5219b1de3a48ac5274cbef Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 23 Aug 2019 15:41:11 +0200 Subject: meta/operation_table --- libbuild2/operation.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libbuild2/operation.hxx') diff --git a/libbuild2/operation.hxx b/libbuild2/operation.hxx index 0d56219..520b37b 100644 --- a/libbuild2/operation.hxx +++ b/libbuild2/operation.hxx @@ -11,7 +11,6 @@ #include #include -#include #include #include @@ -26,6 +25,9 @@ namespace build2 class include_type; struct prerequisite_member; + class value; + using values = small_vector; + struct opspec; // Meta-operation info. @@ -296,11 +298,10 @@ namespace build2 return os << d.name; } - LIBBUILD2_SYMEXPORT extern butl::string_table - meta_operation_table; + using meta_operation_table = butl::string_table; - LIBBUILD2_SYMEXPORT extern butl::string_table operation_table; + using operation_table = butl::string_table; // These are "sparse" in the sense that we may have "holes" that // are represented as NULL pointers. Also, lookup out of bounds -- cgit v1.1