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.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'libbuild2/operation.cxx') diff --git a/libbuild2/operation.cxx b/libbuild2/operation.cxx index c07d359..0bf87d5 100644 --- a/libbuild2/operation.cxx +++ b/libbuild2/operation.cxx @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -546,8 +547,8 @@ namespace build2 << "out_root: " << cast (rs[ctx.var_out_root]) << endl << "amalgamation: " << cast_empty (rs[ctx.var_amalgamation]) << endl << "subprojects: " << cast_empty (rs[ctx.var_subprojects]) << endl - << "operations:"; print_ops (rs.root_extra->operations, operation_table); cout << endl - << "meta-operations:"; print_ops (rs.root_extra->meta_operations, meta_operation_table); cout << endl; + << "operations:"; print_ops (rs.root_extra->operations, ctx.operation_table); cout << endl + << "meta-operations:"; print_ops (rs.root_extra->meta_operations, ctx.meta_operation_table); cout << endl; } } @@ -623,9 +624,4 @@ namespace build2 nullptr, nullptr }; - - // Tables. - // - string_table meta_operation_table; - string_table operation_table; } -- cgit v1.1