mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 21:01:05 +08:00
dd83189fae
Funny how the addition of a forward declaration resulted in accidentally disabling move semantics for two types. We ought to be careful that build time improvements don't have runtime performance impacts.
9 lines
343 B
C++
9 lines
343 B
C++
#include <SFML/Audio/OutputSoundFile.hpp>
|
|
|
|
#include <type_traits>
|
|
|
|
static_assert(!std::is_copy_constructible_v<sf::OutputSoundFile>);
|
|
static_assert(!std::is_copy_assignable_v<sf::OutputSoundFile>);
|
|
static_assert(std::is_nothrow_move_constructible_v<sf::OutputSoundFile>);
|
|
static_assert(std::is_nothrow_move_assignable_v<sf::OutputSoundFile>);
|