Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jan 3, 2024
1 parent a00037e commit 7482acd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dedup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ std::tuple<std::string, std::string, size_t> dedup(const std::string &src, const
std::string line_s = "";
std::string line_t = "";
size_t removed = 0;

while(true) {
std::getline(src_if, line_s);
std::getline(tgt_if, line_t);
Expand All @@ -34,8 +34,6 @@ std::tuple<std::string, std::string, size_t> dedup(const std::string &src, const
}else{
removed++;
}


}

src_of.close();
Expand Down

0 comments on commit 7482acd

Please sign in to comment.