diff --git a/construct/construct.cc b/construct/construct.cc index 6a6e0c984..958791a80 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -58,8 +58,7 @@ lgetopt opts[] = std::unique_ptr ios { - // Having trouble with static destruction in clang so this - // has to become still-reachable + // Having trouble with static dtor in clang so this has tp be dynamic std::make_unique() }; @@ -68,11 +67,6 @@ boost::asio::signal_set sigs *ios }; -// TODO: XXX: This has to be declared first before any modules -// are loaded otherwise the module will not be unloadable. -boost::asio::ip::tcp::acceptor _dummy_acceptor_ { *ios }; -boost::asio::ip::tcp::socket _dummy_sock_ { *ios }; - int main(int argc, char *const *argv) try {