]> git.tdb.fi Git - builder.git/commitdiff
Add the target type to a lexical_cast invocation
authorMikko Rasa <tdb@tdb.fi>
Sat, 1 Dec 2012 09:34:19 +0000 (11:34 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 1 Dec 2012 09:34:19 +0000 (11:34 +0200)
source/analyzer.cpp

index 7ea1fff8c58aa0d1dbcb2e25ffca4e93b1d68e3e..eaf017be6753e29ee935a5dbab698e605b41a08c 100644 (file)
@@ -137,7 +137,7 @@ void Analyzer::print_table() const
                {
                        if(j>0)
                                line += "  ";
-                       line += lexical_cast((*i)[j], Fmt("%-s").width(col_width[j]));
+                       line += lexical_cast<string>((*i)[j], Fmt("%-s").width(col_width[j]));
                }
                IO::print("%s\n", line);
        }