Skip to content

Commit

Permalink
reactor: Mark _config const
Browse files Browse the repository at this point in the history
Reactor configuration, once set in constructor, doesn't change. Few
exceptions exist, but they will be handled later on.

Signed-off-by: Pavel Emelyanov <[email protected]>
  • Loading branch information
xemul committed Jul 9, 2024
1 parent c7cb58b commit 9659996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/seastar/core/reactor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public:
private:
std::shared_ptr<smp> _smp;
alien::instance& _alien;
reactor_config _cfg;
const reactor_config _cfg;
file_desc _notify_eventfd;
file_desc _task_quota_timer;
#ifdef HAVE_OSV
Expand Down

0 comments on commit 9659996

Please sign in to comment.