code tweak

This commit is contained in:
Martin Brodbeck 2018-08-09 08:41:35 +02:00
parent 92d08a4798
commit 27edf6b6ea
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
#include <xlnt/xlnt.hpp>
void ExcelReader::readSellersFromFile(std::filesystem::path& filePath, Marketplace* market)
void ExcelReader::readSellersFromFile(const std::filesystem::path& filePath, Marketplace* market)
{
for (auto& seller : market->getSellers()) {
seller->setState(Seller::State::DELETE);

View file

@ -12,7 +12,7 @@
class ExcelReader
{
public:
static void readSellersFromFile(std::filesystem::path& filePath, Marketplace* market);
static void readSellersFromFile(const std::filesystem::path& filePath, Marketplace* market);
};
#endif