Skip to content
Snippets Groups Projects
Commit 5deeb1cd authored by Federico Montesino Pouzols's avatar Federico Montesino Pouzols
Browse files

clang fix, re #13918

parent 66b373c7
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ void ConvertCWSDExpToMomentum::addMDEvents(bool usevirtual) {
// Check whether to add / or \ to m_dataDir
std::string sep("");
if (m_dataDir.size() > 0) {
// Determine system
// Determine system
#if _WIN64
const bool isWindows = true;
#elif _WIN32
......@@ -210,6 +210,7 @@ void ConvertCWSDExpToMomentum::addMDEvents(bool usevirtual) {
#else
const bool isWindows = false;
#endif
if (isWindows && *m_dataDir.rbegin() != '\\') {
sep = "\\";
} else if (!isWindows && *m_dataDir.rbegin() != '/')
......
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