summaryrefslogtreecommitdiff
path: root/AK/ByteBuffer.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
commitffab6897aa1bc668f98130b4bb485a4602509938 (patch)
treea4d1933fc390ea0803bb3826353262fbf06b885f /AK/ByteBuffer.h
parent27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff)
downloadserenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'AK/ByteBuffer.h')
-rw-r--r--AK/ByteBuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/ByteBuffer.h b/AK/ByteBuffer.h
index 9f776c45a8..33267f347a 100644
--- a/AK/ByteBuffer.h
+++ b/AK/ByteBuffer.h
@@ -11,7 +11,7 @@ public:
ByteBuffer() { }
ByteBuffer(std::nullptr_t) { }
ByteBuffer(const ByteBuffer& other)
- : m_impl(other.m_impl.copyRef())
+ : m_impl(other.m_impl.copy_ref())
{
}
ByteBuffer(ByteBuffer&& other)
@@ -26,7 +26,7 @@ public:
}
ByteBuffer& operator=(const ByteBuffer& other)
{
- m_impl = other.m_impl.copyRef();
+ m_impl = other.m_impl.copy_ref();
return *this;
}