mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
refactor: adjust code to compile with c++20 3/n
Related-To: NEO-10767 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
446f9c1964
commit
568133b690
@@ -128,7 +128,9 @@ void PrintFormatter::adjustFormatString<int64_t>(std::string &formatString) {
|
||||
UNRECOVERABLE_IF(formatString.size() - 1 == longPosition);
|
||||
|
||||
if (formatString.at(longPosition + 1) != 'l') {
|
||||
formatString.insert(longPosition, "l");
|
||||
formatString.append(1, '\0');
|
||||
std::move_backward(formatString.begin() + longPosition, formatString.end() - 1, formatString.end());
|
||||
formatString[longPosition] = 'l';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user