summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/wx_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_ptr.h b/src/wx/wx_ptr.h
index 7eff673a4..96459183e 100644
--- 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();