Skip to content

Commit

Permalink
clang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Aug 29, 2024
1 parent b56e3b4 commit d69db9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xml_converter/src/attribute/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ string image_to_xml_attribute(
const Image* value) {
if (filesystem::exists(filesystem::path(value->original_filepath))) {
filesystem::path output_path = filesystem::path(state->marker_pack_root_directory) / value->filename;
if (value->original_filepath != output_path){
if (value->original_filepath != output_path) {
filesystem::create_directories(output_path.parent_path());
filesystem::copy_file(filesystem::path(value->original_filepath), output_path, filesystem::copy_options::overwrite_existing);
}
Expand Down Expand Up @@ -89,7 +89,7 @@ void image_to_proto(
state->textures.push_back(&value);
if (filesystem::exists(filesystem::path(value.original_filepath))) {
filesystem::path output_path = filesystem::path(state->marker_pack_root_directory) / value.filename;
if (value.original_filepath != output_path){
if (value.original_filepath != output_path) {
filesystem::create_directories(output_path.parent_path());
filesystem::copy_file(filesystem::path(value.original_filepath), output_path, filesystem::copy_options::overwrite_existing);
}
Expand Down

0 comments on commit d69db9a

Please sign in to comment.