]> git.lyx.org Git - features.git/commit
Fix compilation with boost 1.58
authorGeorg Baum <baum@lyx.org>
Fri, 15 May 2015 22:05:23 +0000 (00:05 +0200)
committerGeorg Baum <baum@lyx.org>
Fri, 15 May 2015 22:05:23 +0000 (00:05 +0200)
commitb596330093d3fa5d80e3ffc185771df77a02393b
tree71787ce8c07669063e88014e885d9534b90e9725
parentef456e96075513ab3e6cbefe04ae9eedc6ed0766
Fix compilation with boost 1.58

Newer boost versions use complicated type traits for boost::next and
boost::prior, which do not work with the RandomAccessList iterators.
The long term solution is to use std::next and std::prev, for now supply
simple replacements for compilers that do not support C++11 yet.
14 files changed:
boost/extract.sh
src/Compare.cpp
src/Cursor.cpp
src/CutAndPaste.cpp
src/FontList.cpp
src/Row.cpp
src/Text.cpp
src/Text2.cpp
src/Text3.cpp
src/lyxfind.cpp
src/mathed/MathData.cpp
src/output_docbook.cpp
src/output_latex.cpp
src/support/lyxalgo.h