Removed duplicate ColoredLine::add_string definition protocol5

Wed, 20 Jul 2016 13:21:46 +0300

author
Teemu Piippo <teemu@compsta2.com>
date
Wed, 20 Jul 2016 13:21:46 +0300
branch
protocol5
changeset 134
644935ff6bc1
parent 133
4d8fa5394d67
child 135
966c09c34ae1

Removed duplicate ColoredLine::add_string definition

sources/coloredline.cpp file | annotate | diff | comparison | revisions
--- a/sources/coloredline.cpp	Wed Jul 20 13:20:32 2016 +0300
+++ b/sources/coloredline.cpp	Wed Jul 20 13:21:46 2016 +0300
@@ -160,14 +160,6 @@
 
 // -------------------------------------------------------------------------------------------------
 //
-void ColoredLine::add_string (const String& text)
-{
-	for (char a : text)
-		add_char (a);
-}
-
-// -------------------------------------------------------------------------------------------------
-//
 void ColoredLine::activate_color (Color color, bool bold)
 {
 	if (m_boldActive)

mercurial