r600/sfn: Fix usage of std::string constructor
Fixes:f718ac6268
(r600/sfn: Add a basic nir shader backend) Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26415> (cherry picked from commitac4b8aab21
)
This commit is contained in:

committed by
Eric Engestrom

parent
b4425db9d9
commit
beeb3af6f8
@@ -984,7 +984,7 @@
|
||||
"description": "r600/sfn: Fix usage of std::string constructor",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "f718ac62688b555a933c7112f656944288d04edb",
|
||||
"notes": null
|
||||
|
@@ -125,12 +125,13 @@ SfnTrace::SfnTrace(SfnLog::LogFlag flag, const char *msg):
|
||||
m_flag(flag),
|
||||
m_msg(msg)
|
||||
{
|
||||
sfn_log << m_flag << std::string(" ", 2 * m_indention++) << "BEGIN: " << m_msg << "\n";
|
||||
sfn_log << m_flag << std::string( 2 * m_indention++, ' ') << "BEGIN: " << m_msg << "\n";
|
||||
}
|
||||
|
||||
SfnTrace::~SfnTrace()
|
||||
{
|
||||
sfn_log << m_flag << std::string(" ", 2 * m_indention--) << "END: " << m_msg << "\n";
|
||||
assert(m_indention > 0);
|
||||
sfn_log << m_flag << std::string( 2 * m_indention--, ' ') << "END: " << m_msg << "\n";
|
||||
}
|
||||
|
||||
int SfnTrace::m_indention = 0;
|
||||
|
Reference in New Issue
Block a user