mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Update Text constructor static assert to use correct parameters
This commit is contained in:
parent
3d2944998d
commit
669d9f53bc
@ -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>);
|
||||||
|
Loading…
Reference in New Issue
Block a user