Skip to content

Commit

Permalink
correct data type
Browse files Browse the repository at this point in the history
  • Loading branch information
dlidstrom committed Aug 15, 2020
1 parent 2d14e46 commit 5266c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileTypeBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ bool FileTypeBase::IsSourceLine(const std::string& line) const {
std::vector<SourceLine> FileTypeBase::GetCleanedSourceLines(const std::vector<std::string>& lines) const {
auto lineFilter = CreateLineFilter();
std::vector<SourceLine> filteredLines;
for (auto i = 0; i < lines.size(); i++) {
for (std::vector<std::string>::size_type i = 0; i < lines.size(); i++) {
auto filteredLine = GetCleanLine(lineFilter->ProcessSourceLine(lines[i]));
if (IsSourceLine(filteredLine)) {
filteredLines.emplace_back(filteredLine, i);
Expand Down

0 comments on commit 5266c03

Please sign in to comment.