Commit 3577885 1 parent 6444422 commit 3577885 Copy full SHA for 3577885
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class Slot final
112
112
* @param journal Journal for logging
113
113
* @param handler Squelch/Unsquelch implementation
114
114
*/
115
- Slot (beast::Journal&& journal, SquelchHandler const & handler)
115
+ Slot (SquelchHandler const & handler, beast::Journal journal )
116
116
: reachedThreshold_(0 )
117
117
, lastSelected_(clock_type::now())
118
118
, state_(SlotState::Counting)
@@ -686,7 +686,7 @@ Slots<clock_type>::updateSlotAndSquelch(
686
686
JLOG (journal_.debug ())
687
687
<< " updateSlotAndSquelch: new slot " << Slice (validator);
688
688
auto [it, _] = slots_.emplace (std::make_pair (
689
- validator, Slot<clock_type>(app_.journal (" Slot" ), handler_ )));
689
+ validator, Slot<clock_type>(handler_, app_.journal (" Slot" ))));
690
690
it->second .update (validator, id, type);
691
691
}
692
692
else
You can’t perform that action at this time.
0 commit comments