diff --git a/src/streq.h b/src/streq.h
index daed17cf05e60982f7641e5409ecb484a18caaf9..a3524a941f29236e6bf88c9041c026cdd78c65a1 100644 (file)
--- a/src/streq.h
+++ b/src/streq.h
#define INKSCAPE_STREQ_H
#include <cstring>
+#include <string>
/** Convenience/readability wrapper for strcmp(a,b)==0. */
inline bool
return std::strcmp(a, b) == 0;
}
+struct streq_rel {
+ bool operator()(char const *a, char const *b) const
+ {
+ return (std::strcmp(a, b) == 0);
+ }
+};
#endif /* !INKSCAPE_STREQ_H */
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :