From aba573df43ffe37b5402612b9025b22633c4dc22 Mon Sep 17 00:00:00 2001 From: Matthew Emmett Date: Thu, 13 Oct 2016 21:34:39 -0600 Subject: [PATCH] Remove BOOST dependency. --- include/pfasst/logging.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/pfasst/logging.hpp b/include/pfasst/logging.hpp index 0af4f86d..8cc3e69d 100644 --- a/include/pfasst/logging.hpp +++ b/include/pfasst/logging.hpp @@ -26,6 +26,7 @@ #ifndef NDEBUG #include // used by pfasst::log::test_logging_levels() #endif +#include #include using namespace std; @@ -34,8 +35,6 @@ using namespace std; #include #endif -#include - #include "pfasst/config.hpp" @@ -382,10 +381,7 @@ namespace pfasst const size_t id_length = id.size(); string id2print = id.substr(0, LOGGER_ID_LENGTH); - boost::to_upper(id2print); - if (initialized) { - ML_CLOG(DEBUG, "default", "initializing custom logger '" << id << "' as '" << id2print << "'"); - } + transform(id2print.begin(), id2print.end(), id2print.begin(), ::toupper); if (id_length < LOGGER_ID_LENGTH) { id2print.append(LOGGER_ID_LENGTH - id_length, ' '); }