diff options
Diffstat (limited to 'include/Text.hpp')
-rw-r--r-- | include/Text.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Text.hpp b/include/Text.hpp index 5749072..a39b2ba 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -68,9 +68,9 @@ namespace QuickMedia Text(bool bold_font); Text(sf::String str, bool bold_font, unsigned int characterSize, float maxWidth, bool highlight_urls = false); - void setString(sf::String str); + void setString(const sf::String &str); const sf::String& getString() const; - void appendText(sf::String str); + void appendText(const sf::String &str); void setPosition(float x, float y); void setPosition(const sf::Vector2f &position); |