Skip to content

Commit

Permalink
Fixed a bug with the non-portable usage of std::stringstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 6, 2012
1 parent 5717aee commit b532975
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/Events/Logger.cpp
Expand Up @@ -156,7 +156,10 @@ namespace Dream
if (i != _thread_names.end()) {
return i->second;
} else {
return (std::stringstream() << std::this_thread::get_id()).str();
std::stringstream buffer;
buffer << std::this_thread::get_id();

return buffer.str();
}
}

Expand Down

0 comments on commit b532975

Please sign in to comment.