mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
removed move semantics on append call
append takes an lvalue so move semantics are never invoked?
This commit is contained in:
parent
bad9d5e521
commit
bb14f2af52
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public:
|
|||
|
||||
auto unique = std::make_unique<T>(std::forward<Args>(args)...);
|
||||
auto pointer = unique.get();
|
||||
this->append(std::move(unique));
|
||||
this->append(unique);
|
||||
return pointer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue