Skip to content

Commit

Permalink
KeylessStateEventBase: prevent too-perfect forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Nov 4, 2024
1 parent 23de0d6 commit 0b267cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Quotient/events/stateevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class KeylessStateEventBase

public:
template <typename... ContentParamTs>
requires std::constructible_from<ContentT, ContentParamTs...>
explicit KeylessStateEventBase(ContentParamTs&&... contentParams)
: base_type(QString(), std::forward<ContentParamTs>(contentParams)...)
{}
Expand Down

0 comments on commit 0b267cd

Please sign in to comment.