diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-02-02 21:20:21 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-02-05 11:10:29 +0100 |
commit | 297c9c3fa081a98f4f8657fe19ef33e6cec10bd0 (patch) | |
tree | 6d3f73621beea9a93acec97faa6b43a75f38adc2 /src/cam/event_loop.h | |
parent | 9708f49fecf2f9eea3613a2a83e40e9e76557f18 (diff) |
cam: event_loop: Rename event_ to base_
The 'event' variable name is usually used for events added to the base
event loop, not the loop itself. Rename the struct event_base member to
base_ as a preparation for future work adding events to the loop.
There is no functional change.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/event_loop.h')
-rw-r--r-- | src/cam/event_loop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam/event_loop.h b/src/cam/event_loop.h index 408073c5..d0d5b5a5 100644 --- a/src/cam/event_loop.h +++ b/src/cam/event_loop.h @@ -30,7 +30,7 @@ public: private: static EventLoop *instance_; - struct event_base *event_; + struct event_base *base_; std::atomic<bool> exit_; int exitCode_; |