X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxcursor.h;h=60ad1e0bfbe4386b2fc85d2dd55c3fc1703c4f4a;hb=a69e7a45780e94f4330a91facfe35126c678e34e;hp=7c4bed06bac301329a819e05907ca08147d0d369;hpb=8ed9dbabde30b31a6a14e032fa42f682a196ef7a;p=lyx.git diff --git a/src/lyxcursor.h b/src/lyxcursor.h index 7c4bed06ba..60ad1e0bfb 100644 --- a/src/lyxcursor.h +++ b/src/lyxcursor.h @@ -12,6 +12,10 @@ #ifndef LYXCURSOR_H #define LYXCURSOR_H +#ifdef __GNUG__ +#pragma interface +#endif + #include "lyxparagraph.h" struct Row; @@ -69,7 +73,7 @@ private: Row * row_; }; - +/// inline bool operator==(LyXCursor const & a, LyXCursor const & b) { @@ -78,7 +82,7 @@ bool operator==(LyXCursor const & a, LyXCursor const & b) && a.boundary() == b.boundary(); } - +/// inline bool operator!=(LyXCursor const & a, LyXCursor const & b) {