aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r--bpkg/bpkg.cxx20
1 files changed, 9 insertions, 11 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
index c1a4908..c674a44 100644
--- a/bpkg/bpkg.cxx
+++ b/bpkg/bpkg.cxx
@@ -389,19 +389,17 @@ init (const common_options& co,
// @@ TODO: perhaps we should only do it for commands that need it?
//
{
- using namespace build2;
-
// @@ TMP: pass proper values instead of dummies.
//
- init_diag (1);
- init (nullptr, "bpkg" /*argv[0]*/);
-
- bin::build2_bin_load ();
- cc::build2_cc_load ();
- c::build2_c_load ();
- cxx::build2_cxx_load ();
- version::build2_version_load ();
- in::build2_in_load ();
+ build2::init_diag (1);
+ build2::init (nullptr, "bpkg" /*argv[0]*/);
+
+ build2::bin::build2_bin_load ();
+ build2::cc::build2_cc_load ();
+ build2::c::build2_c_load ();
+ build2::cxx::build2_cxx_load ();
+ build2::version::build2_version_load ();
+ build2::in::build2_in_load ();
}
return o;