From: José Fonseca Date: Fri, 7 Oct 2011 23:17:25 +0000 (+0100) Subject: Preserve const-ness in string comparer. X-Git-Tag: 2.0_alpha^2~608 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=872d19acf33c19c3c6ca42255f5e86cc2c120bff;p=tools%2Fapitrace.git Preserve const-ness in string comparer. --- diff --git a/retrace.hpp b/retrace.hpp index 806d6ed..b697adb 100644 --- a/retrace.hpp +++ b/retrace.hpp @@ -97,7 +97,7 @@ struct Entry { struct stringComparer { - bool operator() (const char *a, const char *b) { + bool operator() (const char *a, const char *b) const { return strcmp(a, b) < 0; } };