Skip to content

Commit

Permalink
Small oops
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlaucsb committed Oct 1, 2020
1 parent b8f88ff commit 9269423
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/Doxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For quick examples, go to this project's [GitHub page](https://github.com/vincen
* csv::CSVReader::iterator
* csv::CSVReader::begin()
* csv::CSVReader::end()
* Convienience Functions
* Convenience Functions
* csv::parse()
* csv::operator ""_csv()
* csv::parse_no_header()
Expand Down
5 changes: 4 additions & 1 deletion include/internal/csv_format.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ namespace csv {
* @note Equivalent to `header_row(-1)`
*
*/
CSVFormat& no_header() { this->header_row(-1); }
CSVFormat& no_header() {
this->header_row(-1);
return *this;
}

/** Turn quoting on or off */
CSVFormat& quote(bool use_quote) {
Expand Down
5 changes: 4 additions & 1 deletion single_include/csv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5209,7 +5209,10 @@ namespace csv {
* @note Equivalent to `header_row(-1)`
*
*/
CSVFormat& no_header() { this->header_row(-1); }
CSVFormat& no_header() {
this->header_row(-1);
return *this;
}

/** Turn quoting on or off */
CSVFormat& quote(bool use_quote) {
Expand Down
5 changes: 4 additions & 1 deletion single_include_test/csv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5209,7 +5209,10 @@ namespace csv {
* @note Equivalent to `header_row(-1)`
*
*/
CSVFormat& no_header() { this->header_row(-1); }
CSVFormat& no_header() {
this->header_row(-1);
return *this;
}

/** Turn quoting on or off */
CSVFormat& quote(bool use_quote) {
Expand Down

0 comments on commit 9269423

Please sign in to comment.