diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-15 00:16:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-15 00:16:21 +0100 |
| commit | e6c2c489924fbe2f8db70030f1774541a819d46c (patch) | |
| tree | 9b175c8843d033858bcc92979150e986aeea06d2 /src | |
| parent | 732ce79ef10c58c129a8b9822fad9955a97a153d (diff) | |
Fix reset() to use rvalue references.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/wx_ptr.h | 2 |
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(); |
