diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/cmake/Boost.cmake | 2 | ||||
| -rw-r--r-- | indra/llvfs/lldiriterator.cpp | 6 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/indra/cmake/Boost.cmake b/indra/cmake/Boost.cmake index 2af0bc1b30..dfa59bcb7e 100644 --- a/indra/cmake/Boost.cmake +++ b/indra/cmake/Boost.cmake @@ -18,8 +18,8 @@ else (STANDALONE)    set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)    if (WINDOWS) -    set(BOOST_VERSION 1_48)      if(MSVC80) +      set(BOOST_VERSION 1_52)        set(BOOST_PROGRAM_OPTIONS_LIBRARY             optimized libboost_program_options-vc80-mt-${BOOST_VERSION}            debug libboost_program_options-vc80-mt-gd-${BOOST_VERSION}) diff --git a/indra/llvfs/lldiriterator.cpp b/indra/llvfs/lldiriterator.cpp index ff92cbb7fd..fa806bf23e 100644 --- a/indra/llvfs/lldiriterator.cpp +++ b/indra/llvfs/lldiriterator.cpp @@ -59,7 +59,7 @@ LLDirIterator::Impl::Impl(const std::string &dirname, const std::string &mask)  	{  		is_dir = fs::is_directory(dir_path);  	} -	catch (fs::basic_filesystem_error<fs::path>& e) +	catch (const fs::filesystem_error& e)  	{  		llwarns << e.what() << llendl;  		return; @@ -76,7 +76,7 @@ LLDirIterator::Impl::Impl(const std::string &dirname, const std::string &mask)  	{  		mIter = fs::directory_iterator(dir_path);  	} -	catch (fs::basic_filesystem_error<fs::path>& e) +	catch (const fs::filesystem_error& e)  	{  		llwarns << e.what() << llendl;  		return; @@ -121,7 +121,7 @@ bool LLDirIterator::Impl::next(std::string &fname)  	while (mIter != end_itr && !found)  	{  		boost::smatch match; -		std::string name = mIter->path().filename(); +		std::string name = mIter->path().filename().string();  		if (found = boost::regex_match(name, match, mFilterExp))  		{  			fname = name; | 
