projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix reset() to use rvalue references.
[dcpomatic.git]
/
src
/
wx
/
wx_ptr.h
diff --git
a/src/wx/wx_ptr.h
b/src/wx/wx_ptr.h
index 7eff673a4e0d16e42519dec8b15b7d30f0f3e92c..96459183ee070832a3e887e53d9def687f490399 100644
(file)
--- a/
src/wx/wx_ptr.h
+++ b/
src/wx/wx_ptr.h
@@
-68,7
+68,7
@@
public:
}
template <typename... Args>
- void reset(Args... args)
+ void reset(Args
&&
... args)
{
if (_wx) {
_wx->Destroy();