Core/SimpleTextDrawer: Fix assignment operator

Former-commit-id: 52aa69ef0712d142ab36eae6dedf084c32a08012
This commit is contained in:
Lynix
2015-11-25 18:20:02 +01:00
parent b5fb11b5c2
commit 4619099a01
2 changed files with 14 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ namespace Nz
void SetStyle(UInt32 style);
void SetText(const String& str);
SimpleTextDrawer& operator=(const SimpleTextDrawer& drawer) = default;
SimpleTextDrawer& operator=(const SimpleTextDrawer& drawer);
SimpleTextDrawer& operator=(SimpleTextDrawer&& drawer);
static SimpleTextDrawer Draw(const String& str, unsigned int characterSize, UInt32 style = TextStyle_Regular, const Color& color = Color::White);