From 00f7b5de0ba9481a65bb1183adc6442f62b1633d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 5 Jul 2019 14:29:38 +0200 Subject: Remove dead code (libu{}) --- build2/bin/init.cxx | 3 --- build2/bin/target.cxx | 15 --------------- build2/bin/target.hxx | 12 ------------ 3 files changed, 30 deletions(-) diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx index 2df0572..e9063fc 100644 --- a/build2/bin/init.cxx +++ b/build2/bin/init.cxx @@ -439,9 +439,6 @@ namespace build2 t.insert (); t.insert (); -#if 0 - t.insert (); -#endif t.insert (); t.insert (); t.insert (); diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx index 7c16506..ec4a0ef 100644 --- a/build2/bin/target.cxx +++ b/build2/bin/target.cxx @@ -353,21 +353,6 @@ namespace build2 false }; -#if 0 - const target_type libu::static_type - { - "libu", - &libx::static_type, - &target_factory, - nullptr, - nullptr, - nullptr, - nullptr, - &target_search, - false - }; -#endif - // What extensions should we use? At the outset, this is platform- // dependent. And if we consider cross-compilation, is it build or // host-dependent? Feels like it should be host-dependent so that diff --git a/build2/bin/target.hxx b/build2/bin/target.hxx index 12065bf..45229ce 100644 --- a/build2/bin/target.hxx +++ b/build2/bin/target.hxx @@ -277,18 +277,6 @@ namespace build2 virtual const target_type& dynamic_type () const {return static_type;} }; -#if 0 - class libu: public libx - { - public: - using libx::libx; - - public: - static const target_type static_type; - virtual const target_type& dynamic_type () const {return static_type;} - }; -#endif - // The lib{} target group. // class liba: public file -- cgit v1.1