diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-01-25 20:00:43 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-01-25 20:00:43 +0100 |
commit | 19fd263fb26f292a12f5d0fc047174934c6daf04 (patch) | |
tree | e4e835ece8628dd8f09a5ac1ab7318c12cf0704f /src/tuning/tuning.hpp | |
parent | 6a9d6b5da2a7fcdf8ce41ed1e2dcc79098265113 (diff) |
Moved some constants from global scope to a function; removed unnecessary includes
Diffstat (limited to 'src/tuning/tuning.hpp')
-rw-r--r-- | src/tuning/tuning.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/tuning/tuning.hpp b/src/tuning/tuning.hpp index 22210c7d..ee7e0087 100644 --- a/src/tuning/tuning.hpp +++ b/src/tuning/tuning.hpp @@ -20,7 +20,6 @@ #include <random> #include <utility> #include <algorithm> -#include <iostream> #include <chrono> #include <functional> @@ -32,21 +31,6 @@ namespace clblast { // ================================================================================================= -// Constants holding start and end strings for terminal-output in colour -#if defined(_WIN32) - const std::string kPrintError = ""; - const std::string kPrintSuccess = ""; - const std::string kPrintMessage = ""; - const std::string kPrintEnd = ""; -#else - const std::string kPrintError = "\x1b[31m"; - const std::string kPrintSuccess = "\x1b[32m"; - const std::string kPrintMessage = "\x1b[1m"; - const std::string kPrintEnd = "\x1b[0m"; -#endif - -// ================================================================================================= - // Structures for the tuners with all the default settings struct TunerDefaults { |