Fix check for non-numeric CSV data. Use same column name code as mapnik

This commit is contained in:
Eric Fischer
2017-12-07 11:28:39 -08:00
parent ec475b3beb
commit ed0b69a3c8
2 changed files with 11 additions and 3 deletions
+6 -1
View File
@@ -157,7 +157,12 @@ bool is_number(std::string const &s) {
}
}
return true;
if (*cp == '\0') {
return true;
} else {
// Something non-numeric at the end
return false;
}
}
return false;