]> git.lyx.org Git - lyx.git/blobdiff - src/converter.h
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / converter.h
index 0b1e1b9d1dc900553df467179be1c967a4573cef..d9d823abcddd21f190ddd9fce500bbdd82e9012f 100644 (file)
@@ -61,9 +61,6 @@ public:
        void setViewer(string const & v) {
                viewer_ = v;
        }
-       friend bool operator<(Format const & a, Format const & b) {
-               return compare_no_case(a.prettyname(),b.prettyname()) < 0;
-       }
 private:
        string name_;
        ///
@@ -77,6 +74,13 @@ private:
 };
 
 
+inline
+bool operator<(Format const & a, Format const & b)
+{
+       return compare_no_case(a.prettyname(),b.prettyname()) < 0;
+}
+
+
 ///
 class Formats {
 public: