summaryrefslogtreecommitdiff
path: root/src/components/utils/src/threads/thread_validator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/utils/src/threads/thread_validator.cc')
-rw-r--r--src/components/utils/src/threads/thread_validator.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/components/utils/src/threads/thread_validator.cc b/src/components/utils/src/threads/thread_validator.cc
index 218137127b..c59054ae11 100644
--- a/src/components/utils/src/threads/thread_validator.cc
+++ b/src/components/utils/src/threads/thread_validator.cc
@@ -46,13 +46,12 @@ SingleThreadSimpleValidator::~SingleThreadSimpleValidator() {}
void SingleThreadSimpleValidator::AssertRunningOnCreationThread() const {
PlatformThreadHandle current_id = Thread::CurrentId();
if (creation_thread_id_ != current_id) {
- SDL_LOG_ERROR(
-
- "Single-threaded object created at thread "
- << creation_thread_id_ << " is accessed from thread " << current_id
+ SDL_LOG_ERROR("Single-threaded object created at thread "
+ << creation_thread_id_ << " is accessed from thread "
+ << current_id
#ifdef BACKTRACE_SUPPORT
- << "\n"
- << utils::Backtrace()
+ << "\n"
+ << utils::Backtrace()
#endif
);
}