]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
fix one ambiguity, and comment out a un-implemented operator
[lyx.git] / src / paragraph.h
index 1508779b4754a5dc5d060af300e1d7bd2bd10e2f..82d0732fe32722e57480b4c5da5b0c6df75dba27 100644 (file)
@@ -328,7 +328,7 @@ public:
        ///
        bool isHfill(lyx::pos_type pos) const;
        /// hinted by profiler
-       bool isInset(lyx::pos_type pos) const { return getChar(pos) == META_INSET; }
+       bool isInset(lyx::pos_type pos) const { return getChar(pos) == static_cast<value_type>(META_INSET); }
        ///
        bool isNewline(lyx::pos_type pos) const;
        ///