sources/coloredline.cpp

changeset 183
9b6a0daedfc0
parent 182
20ca0a6be175
child 190
90bf9049e5eb
--- a/sources/coloredline.cpp	Wed Jan 27 14:04:53 2021 +0200
+++ b/sources/coloredline.cpp	Wed Jan 27 14:05:39 2021 +0200
@@ -127,7 +127,7 @@
 	{
 		if (ch == ']')
 		{
-			String color = to_lowercase(m_incomingColorName);
+			std::string color = to_lowercase(m_incomingColorName);
 
 			for (const ColorCodeInfo &colorInfo : colorCodes)
 			{
@@ -176,7 +176,7 @@
 
 // -------------------------------------------------------------------------------------------------
 //
-void ColoredLine::addString(const String& text)
+void ColoredLine::addString(const std::string& text)
 {
 	for (char a : text)
 		addChar(a);

mercurial