summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_weak_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_weak_ptr.h')
-rw-r--r--core/fxcrt/cfx_weak_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_weak_ptr.h b/core/fxcrt/cfx_weak_ptr.h
index 43ae5b881d..4aca1c3218 100644
--- a/core/fxcrt/cfx_weak_ptr.h
+++ b/core/fxcrt/cfx_weak_ptr.h
@@ -19,7 +19,7 @@ class CFX_WeakPtr {
public:
CFX_WeakPtr() {}
CFX_WeakPtr(const CFX_WeakPtr& that) : m_pHandle(that.m_pHandle) {}
- CFX_WeakPtr(CFX_WeakPtr&& that) { Swap(that); }
+ CFX_WeakPtr(CFX_WeakPtr&& that) noexcept { Swap(that); }
explicit CFX_WeakPtr(std::unique_ptr<T, D> pObj)
: m_pHandle(new Handle(std::move(pObj))) {}