diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2012-11-16 11:07:36 -0500 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2012-11-16 11:07:36 -0500 | 
| commit | eca0637d153e3a9bde563c9521098a7577ba5975 (patch) | |
| tree | 86024d9e830bca4c8a2820981151d31f01e63c4a /indra/llvfs | |
| parent | 185169cbbecebe2a35dbd937d6fb4e0a30fa1832 (diff) | |
| parent | 12a3f2ea72893827a3b34e2f95b462387e844c9d (diff) | |
Automated merge with http://hg.secondlife.com/viewer-development
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; | 
