Compare commits

..

No commits in common. "bc5c63fe0d4769b81f6523c65a806fc3b64d3980" and "04c553e657d1d976f59253a537eaf15fb9ba7a1c" have entirely different histories.

View file

@ -11,16 +11,8 @@ std::size_t CsvReader::readSellersFromFile(const fs::path& filePath, Marketplace
csv::CSVFormat format;
format.delimiter(';');
#if defined(_WIN64) || defined(_WIN32)
// Windows: Somhow this is necessary in order to open file names with umlauts
auto wide = filePath.wstring();
std::string fileName(wide.begin(), wide.end());
csv::CSVReader csvReader(fileName, format);
#else
csv::CSVReader csvReader(filePath.string(), format);
#endif
for (auto& seller : market->getSellers()) {
seller->setState(Seller::State::DELETE);
}