diff --git a/Applications/DataHolderLib/Color.cpp b/Applications/DataHolderLib/Color.cpp index 13ff618f80d0538755d2379455ab08f6436b3b5d..d8d313d858a6976c0b57ec50b8ba4fd8cbcebfa5 100644 --- a/Applications/DataHolderLib/Color.cpp +++ b/Applications/DataHolderLib/Color.cpp @@ -14,13 +14,8 @@ #include "Color.h" -#include <fstream> -#include <sstream> - #include <logog/include/logog.hpp> -#include "BaseLib/StringTools.h" - namespace DataHolderLib { Color createColor(unsigned char r, unsigned char g, unsigned char b) diff --git a/Applications/DataHolderLib/Color.h b/Applications/DataHolderLib/Color.h index 7b245c2f70bf85d67b859bb55ef6e07898a03c76..08bec262e859049eb6a8f759e347aaa0a22493e6 100644 --- a/Applications/DataHolderLib/Color.h +++ b/Applications/DataHolderLib/Color.h @@ -32,8 +32,7 @@ Color getRandomColor(); /// Uses a color-lookup-table (in form of a map) to return a colour for a specified name. If the name is not /// in the colortable a new entry is created with the new name and a random colour. -Color const getColor(const std::string &id, std::map<std::string, DataHolderLib::Color> &colors); +Color const getColor(const std::string& id, + std::map<std::string, DataHolderLib::Color>& colors); -/// Convenience function to use the getColor method with numbers as identifiers. -Color const getColor(double id, std::map<std::string, DataHolderLib::Color> &colors); } // namespace DataHolderLib