Mercurial > hg > orthanc-dicomweb
changeset 272:775ad0dd5859
fix for msvc 2008
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Jun 2019 09:54:38 +0200 |
parents | 932f8d384a15 |
children | 8853ca513c1e |
files | UnitTestsSources/UnitTestsMain.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp Sat Jun 01 17:00:23 2019 +0200 +++ b/UnitTestsSources/UnitTestsMain.cpp Mon Jun 03 09:54:38 2019 +0200 @@ -346,9 +346,9 @@ c++; #if BOOST_VERSION >= 106200 - it = search(std::next(it, pattern.size()), corpus.end()).first; + it = search(it + pattern.size(), corpus.end()).first; #else - it = search(std::next(it, pattern.size()), corpus.end()); + it = search(it + pattern.size(), corpus.end()); #endif }