Browse Source

Create missing directories on the way

pull/406/head
Mikhail Titov 9 years ago
parent
commit
e7f46b4fbe
  1. 2
      FS.cpp

2
FS.cpp

@ -108,7 +108,7 @@ namespace fs { @@ -108,7 +108,7 @@ namespace fs {
bool HashedStorage::Init(const char * chars, size_t count) {
if (!boost::filesystem::exists(root)) {
boost::filesystem::create_directory(root);
boost::filesystem::create_directories(root);
}
for (size_t i = 0; i < count; i++) {

Loading…
Cancel
Save