mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Fixed syntax errors
This commit is contained in:
parent
a0be116b66
commit
58936b7db9
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ namespace gdpm::cache{
|
||||||
|
|
||||||
/* Check and make sure directory is created before attempting to open */
|
/* Check and make sure directory is created before attempting to open */
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
fs::path dir_path = fs::path(cache_path).parent.path();
|
fs::path dir_path = fs::path(cache_path).parent_path();
|
||||||
if(!fs::exists(dir_path){
|
if(!fs::exists(dir_path)){
|
||||||
log::info("Creating cache directories...{}", cache_path);
|
log::info("Creating cache directories...{}", cache_path);
|
||||||
fs::create_directories(dir_path);
|
fs::create_directories(dir_path);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue