Skip to content

Commit

Permalink
Merge pull request #54 from OpenVicProject/clean/useless-append
Browse files Browse the repository at this point in the history
Remove pointless append in conversion
  • Loading branch information
Spartan322 authored Aug 3, 2024
2 parents f754eb9 + d37af81 commit 2f6f6bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/openvic-dataloader/detail/Convert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ namespace ovdl::convert {
last_it = reader.position();
}
if (last_it != begin) {
result.append(last_it, reader.position());
return;
}
break;
Expand Down Expand Up @@ -537,7 +536,6 @@ namespace ovdl::convert {
last_it = reader.position();
}
if (last_it != begin) {
result.append(last_it, reader.position());
return;
}
break;
Expand Down Expand Up @@ -589,7 +587,6 @@ namespace ovdl::convert {
last_it = reader.position();
}
if (last_it != begin) {
result.append(last_it, reader.position());
return;
}
}
Expand Down

0 comments on commit 2f6f6bd

Please sign in to comment.