Skip to content
Snippets Groups Projects
Commit edec2fd2 authored by David Fairbrother's avatar David Fairbrother
Browse files

Re #22780 Clang formatting

parent ec831222
No related branches found
No related tags found
No related merge requests found
......@@ -135,10 +135,10 @@ getRecoveryFolderCheckpoints(const std::string &recoveryFolderPath) {
}
std::string removeInvalidFilenameChars(std::string s) {
// NTFS is most restrictive, so blacklist on this
std::string blacklistChars{ ":*?<>|/\"\\" };
boost::remove_erase_if(s, boost::is_any_of(blacklistChars));
return s;
// NTFS is most restrictive, so blacklist on this
std::string blacklistChars{":*?<>|/\"\\"};
boost::remove_erase_if(s, boost::is_any_of(blacklistChars));
return s;
}
const std::string OUTPUT_PROJ_NAME = "recovery.mantid";
......@@ -446,8 +446,8 @@ void ProjectRecovery::saveWsHistories(const Poco::Path &historyDestFolder) {
alg->setLogging(false);
for (const auto &ws : wsHandles) {
std::string filename = removeInvalidFilenameChars(ws->getName());
filename.append(".py");
std::string filename = removeInvalidFilenameChars(ws->getName());
filename.append(".py");
Poco::Path destFilename = historyDestFolder;
destFilename.append(filename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment