diff --git a/README.md b/README.md index ed9b9fc..d62f9d0 100644 --- a/README.md +++ b/README.md @@ -53,20 +53,20 @@ Brian S. Wolfe 40 1.9 Bill (Heath) Gates 65 3.3 ``` # Features - * [Works on any type](#Custom-conversions) + * [Works on any type](#custom-conversions) * Easy to use * No exceptions - * [Works with headers](#Headers) - * [Works with quotes, escapes and spacings](#Setup) - * [Works with values containing new lines](#Multiline) - * [Columns and rows can be ignored](#Special-types) + * [Works with headers](#headers) + * [Works with quotes, escapes and spacings](#setup) + * [Works with values containing new lines](#multiline) + * [Columns and rows can be ignored](#special-types) * Works with any type of delimiter * Can return whole objects composed of converted values - * [Descriptive error handling can be enabled](#Error-handling) - * [Restrictions can be added for each column](#Restrictions) - * [Works with `std::optional` and `std::variant`](#Special-types) + * [Descriptive error handling can be enabled](#error-handling) + * [Restrictions can be added for each column](#restrictions) + * [Works with `std::optional` and `std::variant`](#special-types) * Works with **`CRLF`** and **`LF`** - * [Conversions can be chained if invalid](#Substitute-conversions) + * [Conversions can be chained if invalid](#substitute-conversions) * Fast # Single header diff --git a/include/ss/converter.hpp b/include/ss/converter.hpp index aadc797..76a4950 100644 --- a/include/ss/converter.hpp +++ b/include/ss/converter.hpp @@ -203,7 +203,7 @@ private: //////////////// const split_data& resplit(line_ptr_type new_line, ssize_t new_size, - const std::string& delim = default_delimiter) { + const std::string& delim) { return splitter_.resplit(new_line, new_size, delim); } diff --git a/include/ss/parser.hpp b/include/ss/parser.hpp index 071bd16..55d77e9 100644 --- a/include/ss/parser.hpp +++ b/include/ss/parser.hpp @@ -681,8 +681,8 @@ private: } } - next_line_converter_.resplit(next_line_buffer_, - next_line_size_); + next_line_converter_.resplit(next_line_buffer_, size, + delim_); } } }