Skip to content

Commit

Permalink
Merge pull request #24 from carthach/master
Browse files Browse the repository at this point in the history
Fix for cpp-11
  • Loading branch information
Paul Vollmer committed May 27, 2015
2 parents 3ee35cf + 12ebfe4 commit 1062123
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ofxCsv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ namespace wng {
if(fileIn.is_open()) {
int lineCount = 0;
vector<string> rows;

while(fileIn != NULL) {
string temp;
getline(fileIn, temp);

string temp;
while(getline(fileIn, temp)) {



// Skip empty lines.
if(temp.length() == 0) {
Expand Down

0 comments on commit 1062123

Please sign in to comment.