Skip to content

Commit 8335635

Browse files
committed
minor code style change, bump version
1 parent de6533b commit 8335635

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/rapidcsv.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* rapidcsv.h
33
*
44
* URL: https://github.com/d99kris/rapidcsv
5-
* Version: 8.95
5+
* Version: 8.96
66
*
77
* Copyright (C) 2017-2026 Kristofer Berggren
88
* All rights reserved.
@@ -1473,12 +1473,11 @@ namespace rapidcsv
14731473
{
14741474
if (mLabelParams.mColumnNameIdx >= 0)
14751475
{
1476-
const auto& labelRow = mData.at(static_cast<size_t>(mLabelParams.mColumnNameIdx));
1476+
const std::vector<std::string>& labelRow = mData.at(static_cast<size_t>(mLabelParams.mColumnNameIdx));
14771477
const size_t offset = static_cast<size_t>(mLabelParams.mRowNameIdx + 1);
14781478
if (offset <= labelRow.size())
14791479
{
1480-
return std::vector<std::string>(labelRow.begin() + static_cast<int>(offset),
1481-
labelRow.end());
1480+
return std::vector<std::string>(labelRow.begin() + static_cast<int>(offset), labelRow.end());
14821481
}
14831482
}
14841483

0 commit comments

Comments
 (0)