Skip to content

Commit 8305199

Browse files
author
Toni Cebrián
committed
Previous to branching
1 parent bb85bab commit 8305199

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

include/csv_iterator.hpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#ifndef _CSV_ITERATOR_HPP_
21
#define _CSV_ITERATOR_HPP_
32

43
#include <string>
@@ -49,13 +48,12 @@ namespace csv {
4948
m_bad = true;
5049
throw(ex);
5150
} catch (std::out_of_range& ex){
52-
// Execption when not enough columns in the record
51+
// Exception when not enough columns in the record
5352
m_bad = true;
5453
throw(ex);
5554
}
5655
m_currentDirty = false;
5756
}
58-
5957
return currentResult;
6058
}
6159

@@ -67,7 +65,6 @@ namespace csv {
6765
return !(*this == other);
6866
}
6967

70-
7168
iterator& operator++() {
7269
bool res = std::getline(*m_in, currentLine);
7370
m_bad = !res;

0 commit comments

Comments
 (0)