X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxtextclasslist.C;h=99c2d94a3acf32b2ae8af998a49ff46cdc9270b0;hb=65ca7003ba47b7348610393a9a0d2d309b4e9702;hp=fcff9b4e4614abb42d64a753d7f18ec9a80231e2;hpb=ab9e55eb6972cff6c0c2a07dea39ff83bbd34b88;p=lyx.git diff --git a/src/lyxtextclasslist.C b/src/lyxtextclasslist.C index fcff9b4e46..99c2d94a3a 100644 --- a/src/lyxtextclasslist.C +++ b/src/lyxtextclasslist.C @@ -69,9 +69,10 @@ LyXTextClassList::operator[](textclass_type textclass) const // used when sorting the textclass list. -struct less_textclass_avail_desc +class less_textclass_avail_desc : public std::binary_function { +public: int operator()(LyXTextClass const & tc1, LyXTextClass const & tc2) const {