mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
ScopedValueSetter: Make nodiscard
This commit is contained in:
parent
e465b71188
commit
c514c95797
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ namespace juce
|
||||||
@tags{Core}
|
@tags{Core}
|
||||||
*/
|
*/
|
||||||
template <typename ValueType>
|
template <typename ValueType>
|
||||||
class ScopedValueSetter
|
class [[nodiscard]] ScopedValueSetter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** Creates a ScopedValueSetter that will immediately change the specified value to the
|
/** Creates a ScopedValueSetter that will immediately change the specified value to the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue