Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da80210f authored by Ioana Jianu's avatar Ioana Jianu Committed by Android (Google) Code Review
Browse files

Merge "Take 'sources' argument by const reference" into main

parents 584def72 e949d7f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ bool ConnectionTimeline::operator!=(const ConnectionTimeline& rhs) const {

InputEventTimeline::InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime,
                                       uint16_t vendorId, uint16_t productId,
                                       std::set<InputDeviceUsageSource> sources)
                                       const std::set<InputDeviceUsageSource>& sources)
      : isDown(isDown),
        eventTime(eventTime),
        readTime(readTime),
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ private:

struct InputEventTimeline {
    InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime, uint16_t vendorId,
                       uint16_t productId, std::set<InputDeviceUsageSource> sources);
                       uint16_t productId, const std::set<InputDeviceUsageSource>& sources);
    const bool isDown; // True if this is an ACTION_DOWN event
    const nsecs_t eventTime;
    const nsecs_t readTime;