mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
CapabilityInquiryDemo: Use "if constexpr" for constant predicate
This commit is contained in:
parent
8874a29844
commit
abe0e6e5fd
1 changed files with 1 additions and 1 deletions
|
|
@ -2780,7 +2780,7 @@ private:
|
|||
|
||||
void updateStateFromUI()
|
||||
{
|
||||
if (editable == Editable::yes)
|
||||
if constexpr (editable == Editable::yes)
|
||||
{
|
||||
auto updated = *state;
|
||||
auto& props = updated.properties;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue