|
10 | 10 |
|
11 | 11 | class FSWrapper : public IFSWrapper { |
12 | 12 | public: |
13 | | - FSWrapper(const std::string &name, const std::string &pathToReplace, const std::string &replacePathWith, bool fallbackOnError, bool isWriteable, std::vector<std::string> ignorePaths = {}) { |
| 13 | + FSWrapper(const std::string &name, const std::string &pathToReplace, const std::string &replacePathWith, bool fallbackOnError, bool isWriteable) { |
14 | 14 | this->pName = name; |
15 | 15 | this->pPathToReplace = pathToReplace; |
16 | 16 | this->pReplacePathWith = replacePathWith; |
17 | 17 | this->pFallbackOnError = fallbackOnError; |
18 | 18 | this->pIsWriteable = isWriteable; |
19 | 19 | this->pCheckIfDeleted = fallbackOnError; |
20 | | - this->pIgnorePaths = std::move(ignorePaths); |
21 | 20 |
|
22 | 21 | std::replace(pPathToReplace.begin(), pPathToReplace.end(), '\\', '/'); |
23 | 22 | std::replace(pReplacePathWith.begin(), pReplacePathWith.end(), '\\', '/'); |
24 | | - for (auto &ignorePath : pIgnorePaths) { |
25 | | - std::replace(ignorePath.begin(), ignorePath.end(), '\\', '/'); |
26 | | - } |
27 | 23 | } |
28 | 24 | ~FSWrapper() override { |
29 | 25 | { |
@@ -133,7 +129,6 @@ class FSWrapper : public IFSWrapper { |
133 | 129 | private: |
134 | 130 | std::string pPathToReplace; |
135 | 131 | std::string pReplacePathWith; |
136 | | - std::vector<std::string> pIgnorePaths; |
137 | 132 | bool pIsWriteable = false; |
138 | 133 | std::mutex openFilesMutex; |
139 | 134 | std::mutex openDirsMutex; |
|
0 commit comments