[cpp-xmltooling COMMIT] /branches/REL_1/xmltooling/io/HTTPResponse.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Sun Jan 4 17:39:16 EST 2015
Author: scantor
Date: Sun Jan 4 17:39:16 2015
New Revision: 1037
URL: http://svn.shibboleth.net/view/cpp-xmltooling?rev=1037&view=rev
Log:
Fix a bug affecting newer boost
Modified:
branches/REL_1/xmltooling/io/HTTPResponse.cpp
Modified: branches/REL_1/xmltooling/io/HTTPResponse.cpp
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/xmltooling/io/HTTPResponse.cpp?rev=1037&r1=1036&r2=1037&view=diff
==============================================================================
--- branches/REL_1/xmltooling/io/HTTPResponse.cpp (original)
+++ branches/REL_1/xmltooling/io/HTTPResponse.cpp Sun Jan 4 17:39:16 2015
@@ -64,8 +64,9 @@
if (!ch)
throw IOException("URL is malformed.");
string s(url, ch - url);
+ std::locale loc;
vector<string>::const_iterator i =
- find_if(m_allowedSchemes.begin(), m_allowedSchemes.end(), boost::bind(fn, boost::cref(s), _1, boost::cref(std::locale())));
+ find_if(m_allowedSchemes.begin(), m_allowedSchemes.end(), boost::bind(fn, boost::cref(s), _1, boost::cref(loc)));
if (i != m_allowedSchemes.end())
return;
More information about the commits
mailing list