projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
boost::filesystem::path is a wide string on Windows
[folly.git]
/
folly
/
test
/
ExceptionTest.cpp
diff --git
a/folly/test/ExceptionTest.cpp
b/folly/test/ExceptionTest.cpp
index 30a70da0d646e206b6fd29f470d59465bc71246f..a77725d9729095ec87470d763066cba918a56888 100644
(file)
--- a/
folly/test/ExceptionTest.cpp
+++ b/
folly/test/ExceptionTest.cpp
@@
-76,7
+76,7
@@
TEST(ExceptionTest, Simple) {
TemporaryDirectory tmpdir;
auto exnpath = tmpdir.path() / "ExceptionTest";
- auto fp = fopen(exnpath.c_str(), "w+b");
+ auto fp = fopen(exnpath.
string().
c_str(), "w+b");
ASSERT_TRUE(fp != nullptr);
SCOPE_EXIT { fclose(fp); };