Code

support for 5 point spline (Bug 685707)
[inkscape.git] / src / streq.h
index c790db9e89685991528c36d6dd4ea0e06e98f1ef..a3524a941f29236e6bf88c9041c026cdd78c65a1 100644 (file)
@@ -11,6 +11,12 @@ streq(char const *a, char const *b)
     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 */
 
@@ -23,4 +29,4 @@ streq(char const *a, char const *b)
   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 :