diff --git a/Userland/Libraries/LibGfx/Typeface.cpp b/Userland/Libraries/LibGfx/Typeface.cpp index 17fd08b266..074745bdc3 100644 --- a/Userland/Libraries/LibGfx/Typeface.cpp +++ b/Userland/Libraries/LibGfx/Typeface.cpp @@ -35,7 +35,7 @@ void Typeface::add_bitmap_font(RefPtr font) void Typeface::set_ttf_font(RefPtr font) { - m_ttf_font = font; + m_ttf_font = move(font); } RefPtr Typeface::get_font(unsigned size) const