diff options
author | callum_linden <none@none> | 2014-10-17 15:07:19 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2014-10-17 15:07:19 -0700 |
commit | 77d7edd415bad394a9311b86937d124123badf19 (patch) | |
tree | 0bc3ddb6358480b64f6432bfac65cbc526304091 /indra/llvfs | |
parent | 6fadab686dc60190b842942f9f0478d8b665c906 (diff) |
Update to build on Xcode 6.0: using an assignment in an expressions without parens
Diffstat (limited to 'indra/llvfs')
-rwxr-xr-x | indra/llvfs/lldiriterator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llvfs/lldiriterator.cpp b/indra/llvfs/lldiriterator.cpp index a9d96c9807..76296ff877 100755 --- a/indra/llvfs/lldiriterator.cpp +++ b/indra/llvfs/lldiriterator.cpp @@ -127,7 +127,8 @@ bool LLDirIterator::Impl::next(std::string &fname) { boost::smatch match; std::string name = mIter->path().filename().string(); - if (found = boost::regex_match(name, match, mFilterExp)) + found = boost::regex_match(name, match, mFilterExp); + if (found) { fname = name; } |