Compare commits

..

4 Commits

Author SHA1 Message Date
red0124
fdd153b63e
Merge pull request #32 from red0124/bugfix/header_usage_on_empty_file
Bugfix/header usage on empty file
2024-02-17 03:27:17 +01:00
ado
c05ab35a33 [skip ci] Update version 2024-02-17 02:41:02 +01:00
ado
8d1637cad1 Update single-header.yml 2024-02-17 02:34:51 +01:00
ado
7530be1c44 Fix undefined behavior when trying to fetch header information on an empty file 2024-02-17 02:26:19 +01:00
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();
}