Loading cmds/statsd/src/logd/LogEvent.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ using android::util::ProtoOutputStream; // We need to keep a copy of the android_log_event_list owned by this instance so that the char* // for strings is not cleared before we can read them. LogEvent::LogEvent(log_msg msg) : mList(msg) { LogEvent::LogEvent(log_msg& msg) : mList(msg) { init(msg.entry_v1.sec * NS_PER_SEC + msg.entry_v1.nsec, &mList); } Loading cmds/statsd/src/logd/LogEvent.h +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ public: /** * Read a LogEvent from a log_msg. */ explicit LogEvent(log_msg msg); explicit LogEvent(log_msg& msg); /** * Constructs a LogEvent with the specified tag and creates an android_log_event_list in write Loading Loading
cmds/statsd/src/logd/LogEvent.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ using android::util::ProtoOutputStream; // We need to keep a copy of the android_log_event_list owned by this instance so that the char* // for strings is not cleared before we can read them. LogEvent::LogEvent(log_msg msg) : mList(msg) { LogEvent::LogEvent(log_msg& msg) : mList(msg) { init(msg.entry_v1.sec * NS_PER_SEC + msg.entry_v1.nsec, &mList); } Loading
cmds/statsd/src/logd/LogEvent.h +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ public: /** * Read a LogEvent from a log_msg. */ explicit LogEvent(log_msg msg); explicit LogEvent(log_msg& msg); /** * Constructs a LogEvent with the specified tag and creates an android_log_event_list in write Loading