aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-08-03 21:59:20 +0200
committer GitHub <noreply@github.com>2024-08-03 21:59:20 +0200
commit2f6f6bdbb191aca01a1c4a9587e314442d219fb4 (patch)
treef1d15e8679aac0bb4b62935cbce534a75c898323 /src
parentf754eb93d8d4a2f3963f1321ad8e248f24dd6249 (diff)
parentd37af8122b541f1220806cb9323be83e6f9e4141 (diff)
Merge pull request #54 from OpenVicProject/clean/useless-append
Remove pointless append in conversion
Diffstat (limited to 'src')
-rw-r--r--src/openvic-dataloader/detail/Convert.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/openvic-dataloader/detail/Convert.hpp b/src/openvic-dataloader/detail/Convert.hpp
index 6f8f279..e346185 100644
--- a/src/openvic-dataloader/detail/Convert.hpp
+++ b/src/openvic-dataloader/detail/Convert.hpp
@@ -483,7 +483,6 @@ namespace ovdl::convert {
last_it = reader.position();
}
if (last_it != begin) {
- result.append(last_it, reader.position());
return;
}
break;
@@ -537,7 +536,6 @@ namespace ovdl::convert {
last_it = reader.position();
}
if (last_it != begin) {
- result.append(last_it, reader.position());
return;
}
break;
@@ -589,7 +587,6 @@ namespace ovdl::convert {
last_it = reader.position();
}
if (last_it != begin) {
- result.append(last_it, reader.position());
return;
}
}