2424
2525#include < osmium/util/memory.hpp>
2626
27- #include < boost/filesystem.hpp>
28-
2927#include < exception>
28+ #include < filesystem>
3029#include < memory>
3130#include < utility>
3231
@@ -104,10 +103,9 @@ static void store_properties(properties_t *properties, options_t const &options)
104103 properties->set_string (" flat_node_file" , " " );
105104 } else {
106105 properties->set_string (
107- " flat_node_file" ,
108- boost::filesystem::absolute (
109- boost::filesystem::path{options.flat_node_file })
110- .string ());
106+ " flat_node_file" , std::filesystem::absolute (
107+ std::filesystem::path{options.flat_node_file })
108+ .string ());
111109 }
112110
113111 properties->set_string (" prefix" , options.prefix );
@@ -121,7 +119,7 @@ static void store_properties(properties_t *properties, options_t const &options)
121119 } else {
122120 properties->set_string (
123121 " style" ,
124- boost ::filesystem::absolute (boost ::filesystem::path{options.style })
122+ std ::filesystem::absolute (std ::filesystem::path{options.style })
125123 .string ());
126124 }
127125
@@ -192,8 +190,8 @@ static void check_and_update_flat_node_file(properties_t *properties,
192190 }
193191 } else {
194192 const auto absolute_path =
195- boost ::filesystem::absolute (
196- boost ::filesystem::path{options->flat_node_file })
193+ std ::filesystem::absolute (
194+ std ::filesystem::path{options->flat_node_file })
197195 .string ();
198196
199197 if (flat_node_file_from_import.empty ()) {
@@ -288,7 +286,7 @@ static void check_and_update_style_file(properties_t *properties,
288286 }
289287
290288 const auto absolute_path =
291- boost ::filesystem::absolute (boost ::filesystem::path{options->style })
289+ std ::filesystem::absolute (std ::filesystem::path{options->style })
292290 .string ();
293291
294292 if (absolute_path == style_file_from_import) {
0 commit comments