Update Text constructor static assert to use correct parameters

This commit is contained in:
kimci86 2023-08-05 20:22:06 +02:00 committed by Chris Thrasher
parent 3d2944998d
commit 669d9f53bc

View File

@ -2,7 +2,7 @@
#include <type_traits> #include <type_traits>
static_assert(!std::is_constructible_v<sf::Text, sf::String, sf::Font&&, unsigned int>); static_assert(!std::is_constructible_v<sf::Text, sf::Font&&, sf::String, unsigned int>);
static_assert(std::is_copy_constructible_v<sf::Text>); static_assert(std::is_copy_constructible_v<sf::Text>);
static_assert(std::is_copy_assignable_v<sf::Text>); static_assert(std::is_copy_assignable_v<sf::Text>);
static_assert(std::is_nothrow_move_constructible_v<sf::Text>); static_assert(std::is_nothrow_move_constructible_v<sf::Text>);