From a9a6b6f95eb891dbc5c3e7b850b99e4d9c94f5fe Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sat, 22 Jun 2019 15:41:22 +0200
Subject: [PATCH] [App] Color; Cleanup includes and unused fct decls

---
 Applications/DataHolderLib/Color.cpp | 5 -----
 Applications/DataHolderLib/Color.h   | 5 ++---
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/Applications/DataHolderLib/Color.cpp b/Applications/DataHolderLib/Color.cpp
index 13ff618f80d..d8d313d858a 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 7b245c2f70b..08bec262e85 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
-- 
GitLab