Skip to content

Commit

Permalink
Delete problematic constexpr variable
Browse files Browse the repository at this point in the history
This triggers bugs in String and other classes regarding
constexpr-compatibility of constructors and destructors.  It does not
appear to be tested correctly in CI.

Works around DISTRHO#440.
  • Loading branch information
thirtythreeforty committed Nov 19, 2023
1 parent 63dfb76 commit 7284305
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions distrho/DistrhoDetails.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,16 +743,6 @@ struct Parameter {
}
};

#if __cplusplus >= 202001L /* TODO */
/**
Bypass parameter definition in constexpr form.
*/
static constexpr const Parameter kParameterBypass = {
kParameterIsAutomatable|kParameterIsBoolean|kParameterIsInteger,
"Bypass", "Bypass", "dpf_bypass", "", "", {}, {}, 0, kPortGroupNone,
};
#endif

/**
Port Group.@n
Allows to group together audio/cv ports or parameters.
Expand Down

0 comments on commit 7284305

Please sign in to comment.