PMsrHandler: escape '?' to avoid trigraph warning in date placeholder

The fallback date placeholder string contained the sequence '??-', which
the compiler interprets as a trigraph for '~' (-Wtrigraphs warning).
Escape the question marks (\?) so the literal string is unchanged while
the warning is silenced.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 09:32:50 +02:00
co-authored by Claude Opus 4.8
parent 64a2d29c68
commit 4af5606efb
+1 -1
View File
@@ -4993,7 +4993,7 @@ Bool_t PMsrHandler::HandleStatisticEntry(PMsrLines &lines)
if (status == 2) {
fStatistic.fDate = TString(date)+TString(", ")+TString(time);
} else {
fStatistic.fDate = TString("????-??-??, ??:??:??");
fStatistic.fDate = TString("\?\?\?\?-\?\?-\?\?, \?\?:\?\?:\?\?");
}
}
// extract chisq