freebsd-ports/editors/gobby/files/patch-inc__preferencesdialog.hpp
Sofian Brabez 10bba6a815 - Fix build with clang
Reported by:	pkg-fallout
2014-07-24 14:40:59 +00:00

11 lines
405 B
C++

--- ./inc/preferencesdialog.hpp.orig 2012-01-30 01:27:51.000000000 +0100
+++ ./inc/preferencesdialog.hpp 2014-07-24 13:12:17.000000000 +0200
@@ -198,7 +198,7 @@
protected:
struct LangCompare
{
- bool operator()(GtkSourceLanguage* first, GtkSourceLanguage* second)
+ bool operator()(const GtkSourceLanguage* first, const GtkSourceLanguage* second) const
{
return first < second;
}