Skip to content

Commit

Permalink
Fix EmergeThread names in log
Browse files Browse the repository at this point in the history
Concatenate the thread id as string instead of adding it to the pointer
  • Loading branch information
kahrl committed May 19, 2013
1 parent b2253e5 commit cc92e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emerge.cpp
Expand Up @@ -349,7 +349,7 @@ bool EmergeThread::getBlockOrStartGen(v3s16 p, MapBlock **b,

void *EmergeThread::Thread() {
ThreadStarted();
log_register_thread("EmergeThread" + id);
log_register_thread("EmergeThread" + itos(id));
DSTACK(__FUNCTION_NAME);
BEGIN_DEBUG_EXCEPTION_HANDLER

Expand Down

0 comments on commit cc92e45

Please sign in to comment.