| 184 | } |
| 185 | |
| 186 | fs::path getPathNoWarning(PathId id) |
| 187 | { |
| 188 | if (id == PathId::save) |
| 189 | { |
| 190 | return _configurablePaths.saves; |
| 191 | } |
| 192 | else if (id == PathId::landscape) |
| 193 | { |
| 194 | return _configurablePaths.landscapes; |
| 195 | } |
| 196 | else |
| 197 | { |
| 198 | return getDefaultPathNoWarning(id); |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | template<typename T> |
| 203 | static void setDirectory(T& buffer, fs::path path) |
no test coverage detected