remove warning. is this a boost bug? the macro is explicitly defined for msvc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26655 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2008-09-30 19:58:56 +00:00
parent 2738d32714
commit 2950127d8d

View File

@ -559,7 +559,7 @@ std::string RegEx::What(int i)const
return result;
}
#ifdef BOOST_HAS_LONG_LONG
#if defined(BOOST_HAS_LONG_LONG) && !defined(_MSC_VER)
const std::size_t RegEx::npos = static_cast<std::size_t>(~0ULL);
#else
const std::size_t RegEx::npos = static_cast<std::size_t>(~0UL);