boost::filesystem::path is a wide string on Windows
authorChristopher Dykes <cdykes@fb.com>
Sat, 2 Jul 2016 02:28:10 +0000 (19:28 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Sat, 2 Jul 2016 02:38:31 +0000 (19:38 -0700)
commit35e9dfc719087620bba711ab65579b430a25036f
tree339d6af08fc511233caf287cc570227696b54f20
parent3df144bef3e58428d62402fe0b8a3d812e59f9a5
boost::filesystem::path is a wide string on Windows

Summary: Which means `.native()` returns a `wstring`, and `.c_str()` returns a `wchar_t*`. As we're using them in places expecting a `char*`, convert to `string` first.

Reviewed By: yfeldblum

Differential Revision: D3506911

fbshipit-source-id: ca34b9888f98106914438490bbd860f9b922ad5e
folly/experimental/test/TestUtilTest.cpp
folly/gen/test/FileTest.cpp
folly/test/ExceptionTest.cpp
folly/test/FileLockTest.cpp