mirror of https://github.com/catchorg/Catch2.git
Tiny optimization in JUnit reporter
This commit is contained in:
parent
581c46249a
commit
9683570be7
|
@ -46,7 +46,7 @@ namespace Catch {
|
|||
#else
|
||||
std::strftime(timeStamp, timeStampSize, fmt, timeInfo);
|
||||
#endif
|
||||
return std::string(timeStamp);
|
||||
return std::string(timeStamp, timeStampSize-1);
|
||||
}
|
||||
|
||||
std::string fileNameTag(const std::vector<std::string> &tags) {
|
||||
|
|
Loading…
Reference in New Issue