Add Boost extras to global locale.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Needed for boost::locale::to_lower() to work.
This commit is contained in:
parent
f9101a3aa1
commit
92db2241b0
|
@ -69,6 +69,12 @@ archive_answer::operator bool()
|
|||
URI::URI(string uri)
|
||||
: _uri(move(uri))
|
||||
{
|
||||
// FIXME(tastytea): Only call locale-stuff once after getting rid OF POCO.
|
||||
// Set global locale with Boost extras. Needed for Boost functions.
|
||||
const boost::locale::generator locgen;
|
||||
const std::locale loc = locgen("");
|
||||
std::locale::global(loc);
|
||||
|
||||
Poco::Net::initializeSSL();
|
||||
|
||||
set_proxy();
|
||||
|
|
Loading…
Reference in New Issue
Block a user