mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Define SoundStream::NoLoop as constexpr instead of enum
This commit is contained in:
parent
bdd348c142
commit
71395e746e
@ -194,10 +194,8 @@ public:
|
||||
bool getLoop() const;
|
||||
|
||||
protected:
|
||||
enum
|
||||
{
|
||||
NoLoop = -1 //!< "Invalid" endSeeks value, telling us to continue uninterrupted
|
||||
};
|
||||
// NOLINTNEXTLINE(readability-identifier-naming)
|
||||
static constexpr std::int64_t NoLoop = -1; //!< "Invalid" onLoop return value, telling us to continue uninterrupted
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Default constructor
|
||||
|
Loading…
Reference in New Issue
Block a user