From 2561eaf5c4794a97d2a2091b894d69e2c9f70c24 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 22 Nov 2014 00:18:05 +0000 Subject: On Windows fs::path::native() is a u16 string --- src/lib/cert/x509/certstor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/cert/x509/certstor.cpp b/src/lib/cert/x509/certstor.cpp index 0ce91abdb..41d971ff5 100644 --- a/src/lib/cert/x509/certstor.cpp +++ b/src/lib/cert/x509/certstor.cpp @@ -128,7 +128,7 @@ Certificate_Store_In_Memory::Certificate_Store_In_Memory(const std::string& dir) try { if(boost::filesystem::is_regular_file(path)) - m_certs.push_back(X509_Certificate(path.native())); + m_certs.push_back(X509_Certificate(path.string())); } catch(...) {} } -- cgit v1.2.3