comparison liboctave/str-vec.cc @ 5760:8d7162924bd3

[project @ 2006-04-14 04:01:37 by jwe]
author jwe
date Fri, 14 Apr 2006 04:01:40 +0000
parents 161ebd1f3410
children 84ca47e311b3
comparison
equal deleted inserted replaced
5759:ce79d238f142 5760:8d7162924bd3
69 } 69 }
70 70
71 int 71 int
72 string_vector::compare (const void *a_arg, const void *b_arg) 72 string_vector::compare (const void *a_arg, const void *b_arg)
73 { 73 {
74 const std::string *a = (const std::string *) a_arg; 74 const std::string *a = static_cast<const std::string *> (a_arg);
75 const std::string *b = (const std::string *) b_arg; 75 const std::string *b = static_cast<const std::string *> (b_arg);
76 76
77 return a->compare (*b); 77 return a->compare (*b);
78 } 78 }
79 79
80 string_vector& 80 string_vector&