mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-08 23:24:19 +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}
|
||||
*/
|
||||
template <typename ValueType>
|
||||
class ScopedValueSetter
|
||||
class [[nodiscard]] ScopedValueSetter
|
||||
{
|
||||
public:
|
||||
/** Creates a ScopedValueSetter that will immediately change the specified value to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue