Merge pull request #32 from red0124/bugfix/header_usage_on_empty_file

Bugfix/header usage on empty file
This commit is contained in:
red0124 2024-02-17 03:27:17 +01:00 committed by GitHub
commit fdd153b63e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14)
project(
ssp
VERSION 1.6.1
VERSION 1.6.2
DESCRIPTION "csv parser"
HOMEPAGE_URL "https://github.com/red0124/ssp"
LANGUAGES CXX

View File

@ -155,7 +155,7 @@ public:
return;
}
if (header_.empty()) {
if (header_.empty() && !eof()) {
split_header_data();
}

View File

@ -6,7 +6,7 @@ project(
'cpp_std=c++17',
'buildtype=debugoptimized',
'wrap_mode=forcefallback'],
version: '1.6.1',
version: '1.6.2',
meson_version:'>=0.54.0')
fast_float_dep = dependency('fast_float')

View File

@ -2281,7 +2281,7 @@ public:
return;
}
if (header_.empty()) {
if (header_.empty() && !eof()) {
split_header_data();
}