diff options
author | trungnob <trung.n.tran@ni.com> | 2017-05-19 17:39:53 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-05-20 21:21:59 -0700 |
commit | 6c002e026645738e8cc23e3e1b3d2a631c7f2b3b (patch) | |
tree | 3499c533902526f9a96d249a186951ac837b118c /host/lib/version.cpp | |
parent | 82f0d5a6d23c6b561a17a8fa15187118b7f35f14 (diff) | |
download | uhd-6c002e026645738e8cc23e3e1b3d2a631c7f2b3b.tar.gz uhd-6c002e026645738e8cc23e3e1b3d2a631c7f2b3b.tar.bz2 uhd-6c002e026645738e8cc23e3e1b3d2a631c7f2b3b.zip |
log: Moved print_system_info to log.cpp.
We want to display syteminfo when the log system get initialized.
Also removes a static block.
Diffstat (limited to 'host/lib/version.cpp')
-rw-r--r-- | host/lib/version.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/host/lib/version.cpp b/host/lib/version.cpp index 2da261af0..2ba2dd0d6 100644 --- a/host/lib/version.cpp +++ b/host/lib/version.cpp @@ -21,17 +21,6 @@ #include <boost/version.hpp> #include <iostream> -#ifndef UHD_DONT_PRINT_SYSTEM_INFO -UHD_STATIC_BLOCK(print_system_info){ - UHD_LOGGER_INFO("UHD") - << BOOST_PLATFORM << "; " - << BOOST_COMPILER << "; " - << "Boost_" << BOOST_VERSION << "; " - << "UHD_" << uhd::get_version_string() - ; -} -#endif - std::string uhd::get_version_string(void){ return "@UHD_VERSION@"; } |