Skip to content

Conversation

@lzaoral
Copy link
Member

@lzaoral lzaoral commented Aug 3, 2022

See commit messages.

@lzaoral lzaoral requested a review from kdudka August 3, 2022 15:27
@lzaoral lzaoral self-assigned this Aug 3, 2022
Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Overall it looks good. Two minor comments inline...

There is no point in closing std::ifstream in a destructor manually since
that will be done either way in its own destructor.
... because negative line number does not make any sense and
boost::file_parser_error::line also returns unsigned long.and pass msg by
a const reference.
... to avoid excessively copies of std::string rvalues.
Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@lzaoral
Copy link
Member Author

lzaoral commented Sep 26, 2022

Thanks for the review, @kdudka!

@lzaoral lzaoral merged commit d939290 into csutils:main Sep 26, 2022
@lzaoral lzaoral deleted the c++11-part2 branch September 26, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants