Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >>>>>> "larsbj" == larsbj <[EMAIL PROTECTED]> writes: > | larsbj> CVSROOT: /usr/local/lyx/cvsroot Module name: lyx-devel | larsbj> Repository: lyx-devel/src/ Changes by: [EMAIL PROTECTED] | larsbj> 04/11/17 01:54:18 > | larsbj> Modified files: lyx-devel/src/: ChangeLog paragraph.h | larsbj> pariterator.h > | larsbj> Log message: fix one ambiguity, and comment out a | larsbj> un-implemented operator > | - 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); } > | Why not declare META_INSET as a lyx::value_type const instead?
That is an alternative. -- Lgb