diff options
author | callum_linden <none@none> | 2012-11-12 16:55:20 -0800 |
---|---|---|
committer | callum_linden <none@none> | 2012-11-12 16:55:20 -0800 |
commit | 586d878ef5c415ebf711e5b3a5ad220e9671e50b (patch) | |
tree | d8be59b211a183ca751c2290ff6cc0451fdb0e36 /indra/llvfs | |
parent | 92acb99f6fc22aaaccc138187f874a90bd34529c (diff) |
First round of fixes to make viewer work with Boost 1.52
Diffstat (limited to 'indra/llvfs')
-rw-r--r-- | indra/llvfs/lldiriterator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |