1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

AudioProcessor: Use std::optional in TrackProperties

This commit is contained in:
Oliver James 2024-11-15 20:00:41 +00:00
parent 59ca34daaf
commit 9b959bd223
9 changed files with 42 additions and 17 deletions

View file

@ -1305,8 +1305,8 @@ public:
AudioProcessor is loaded. */
struct TrackProperties
{
String name; // The name of the track - this will be empty if the track name is not known
Colour colour; // The colour of the track - this will be transparentBlack if the colour is not known
std::optional<String> name; // The name of the track - this will be empty if the track name is not known
std::optional<Colour> colour; // The colour of the track - this will be empty if the colour is not known
// other properties may be added in the future
};