Add Boost extras to global locale.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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::URI(string uri)
|
||||||
: _uri(move(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();
|
Poco::Net::initializeSSL();
|
||||||
|
|
||||||
set_proxy();
|
set_proxy();
|
||||||
|
|
Loading…
Reference in New Issue