summaryrefslogtreecommitdiff
path: root/core/fxcrt/unowned_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/unowned_ptr.h')
-rw-r--r--core/fxcrt/unowned_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/unowned_ptr.h b/core/fxcrt/unowned_ptr.h
index 012af3ddf7..f9753cde37 100644
--- a/core/fxcrt/unowned_ptr.h
+++ b/core/fxcrt/unowned_ptr.h
@@ -39,7 +39,7 @@ namespace fxcrt {
template <class T>
class UnownedPtr {
public:
- UnownedPtr() {}
+ UnownedPtr() = default;
UnownedPtr(const UnownedPtr& that) : UnownedPtr(that.Get()) {}
template <typename U>