diff --git a/src/Format.cpp b/src/Format.cpp index 867642695f..f2a4c92e8a 100644 --- a/src/Format.cpp +++ b/src/Format.cpp @@ -123,11 +123,6 @@ std::string format::CleanString(std::string dirtyString, bool ascii, bool color, return dirtyString; } -std::string format::CleanString(const char * dirtyData, bool ascii, bool color, bool newlines, bool numeric) -{ - return CleanString(std::string(dirtyData), ascii, color, newlines, numeric); -} - std::vector format::VideoBufferToPTI(const VideoBuffer & vidBuf) { std::vector data; diff --git a/src/Format.h b/src/Format.h index 2caf4e8275..388f824633 100644 --- a/src/Format.h +++ b/src/Format.h @@ -27,7 +27,6 @@ namespace format std::string UnixtimeToDate(time_t unixtime, std::string dateFomat = "%d %b %Y"); std::string UnixtimeToDateMini(time_t unixtime); std::string CleanString(std::string dirtyString, bool ascii, bool color, bool newlines, bool numeric = false); - std::string CleanString(const char * dirtyData, bool ascii, bool color, bool newlines, bool numeric = false); std::vector VideoBufferToPNG(const VideoBuffer & vidBuf); std::vector VideoBufferToBMP(const VideoBuffer & vidBuf); std::vector VideoBufferToPPM(const VideoBuffer & vidBuf);