mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 10:09:25 -04:00
Little code size tweak using std::move in constructors.
This commit is contained in:
parent
cff314cbc8
commit
af8c9609a8
2 changed files with 9 additions and 7 deletions
|
@ -53,8 +53,8 @@ public:
|
|||
const PreambleMatcher preamble_matcher,
|
||||
const UnstuffMatcher unstuff_matcher,
|
||||
const EndMatcher end_matcher,
|
||||
const PayloadHandlerFunc payload_handler
|
||||
) : payload_handler { payload_handler },
|
||||
PayloadHandlerFunc payload_handler
|
||||
) : payload_handler { std::move(payload_handler) },
|
||||
preamble(preamble_matcher),
|
||||
unstuff(unstuff_matcher),
|
||||
end(end_matcher)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue