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;
|
bool getLoop() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum
|
// NOLINTNEXTLINE(readability-identifier-naming)
|
||||||
{
|
static constexpr std::int64_t NoLoop = -1; //!< "Invalid" onLoop return value, telling us to continue uninterrupted
|
||||||
NoLoop = -1 //!< "Invalid" endSeeks value, telling us to continue uninterrupted
|
|
||||||
};
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Default constructor
|
/// \brief Default constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user