summaryrefslogtreecommitdiff
path: root/AK/OwnPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/OwnPtr.h')
-rw-r--r--AK/OwnPtr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/OwnPtr.h b/AK/OwnPtr.h
index e1c3e40d97..2ccb0c3f9a 100644
--- a/AK/OwnPtr.h
+++ b/AK/OwnPtr.h
@@ -152,13 +152,13 @@ public:
void swap(OwnPtr& other)
{
- ::swap(m_ptr, other.m_ptr);
+ AK::swap(m_ptr, other.m_ptr);
}
template<typename U>
void swap(OwnPtr<U>& other)
{
- ::swap(m_ptr, other.m_ptr);
+ AK::swap(m_ptr, other.m_ptr);
}
static OwnPtr lift(T* ptr)