vincentlaucsb / csv-parser

A high-performance, fully-featured CSV parser and serializer for modern C++.
MIT License
901 stars 150 forks source link

-Wreorder-ctor warnings #145

Closed oschonrock closed 3 years ago

oschonrock commented 3 years ago

clang-10 throws this with -Wall -Wextra

.../include/internal/basic_csv_parser.hpp:308:17: warning: 
      field '_source' will be initialized after base
      'csv::internals::IBasicCSVParser' [-Wreorder-ctor]
            ) : _source(std::move(source)), IBasicCSVParser(format, col_names) {};
BowenXiao1999 commented 3 years ago

clang-12 the same

vincentlaucsb commented 3 years ago

Should be fixed