mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
dont move parameters for dispatchevent
This commit is contained in:
parent
69ddb75bd9
commit
e71023f36f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ namespace geode {
|
|||
std::tuple<Args...> m_args;
|
||||
|
||||
public:
|
||||
DispatchEvent(std::string const& id, Args&&... args)
|
||||
DispatchEvent(std::string const& id, Args... args)
|
||||
: m_id(id), m_args(std::make_tuple(args...)) {}
|
||||
|
||||
std::tuple<Args...> getArgs() const {
|
||||
|
|
Loading…
Reference in a new issue