mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-30 02:44:50 +00:00
Replace the deprecated branch_path() by parent_path()
This commit is contained in:
parent
111c6291ec
commit
004dd4a38a
@ -250,10 +250,10 @@ void write_results(const std::vector<volk_gnsssdr_test_results_t> *results, bool
|
|||||||
const fs::path config_path(path);
|
const fs::path config_path(path);
|
||||||
// Until we can update the config on a kernel by kernel basis
|
// Until we can update the config on a kernel by kernel basis
|
||||||
// do not overwrite volk_gnsssdr_config when using a regex.
|
// do not overwrite volk_gnsssdr_config when using a regex.
|
||||||
if (!fs::exists(config_path.branch_path()))
|
if (!fs::exists(config_path.parent_path()))
|
||||||
{
|
{
|
||||||
std::cout << "Creating " << config_path.branch_path() << " ..." << std::endl;
|
std::cout << "Creating " << config_path.parent_path() << " ..." << std::endl;
|
||||||
fs::create_directories(config_path.branch_path());
|
fs::create_directories(config_path.parent_path());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ofstream config;
|
std::ofstream config;
|
||||||
|
Loading…
Reference in New Issue
Block a user