ColDescription: Don't use string literals when character literals are needed

This commit is contained in:
Paul Beckingham 2016-10-14 18:58:31 -04:00
parent f04cc0c9e6
commit 4f003cdb60

View file

@ -61,15 +61,15 @@ ColumnDescription::ColumnDescription ()
std::string a3 = STRING_COLUMN_EXAMPLES_ANNO3; std::string a3 = STRING_COLUMN_EXAMPLES_ANNO3;
std::string a4 = STRING_COLUMN_EXAMPLES_ANNO4; std::string a4 = STRING_COLUMN_EXAMPLES_ANNO4;
_examples = {d + "\n " + t + " " + a1 _examples = {d + "\n " + t + ' ' + a1
+ "\n " + t + " " + a2 + "\n " + t + ' ' + a2
+ "\n " + t + " " + a3 + "\n " + t + ' ' + a3
+ "\n " + t + " " + a4, + "\n " + t + ' ' + a4,
d, d,
d + " " + t + " " + a1 d + ' ' + t + ' ' + a1
+ " " + t + " " + a2 + ' ' + t + ' ' + a2
+ " " + t + " " + a3 + ' ' + t + ' ' + a3
+ " " + t + " " + a4, + ' ' + t + ' ' + a4,
d.substr (0, 20) + "...", d.substr (0, 20) + "...",
d + " [4]", d + " [4]",
d.substr (0, 20) + "... [4]"}; d.substr (0, 20) + "... [4]"};