Use const references for logging paylaod data

This commit is contained in:
Robbert van der Helm
2020-03-11 15:54:40 +01:00
parent 1ee0ffef8b
commit 8c187e3ca5
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ void Logger::log_event(bool is_dispatch,
int opcode,
int index,
intptr_t value,
EventPayload payload,
const EventPayload& payload,
float option) {
if (BOOST_UNLIKELY(verbosity >= Verbosity::events)) {
std::ostringstream message;