code tweak
This commit is contained in:
parent
92d08a4798
commit
27edf6b6ea
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue