diff --git a/libraries/lib-lv2/LV2Ports.h b/libraries/lib-lv2/LV2Ports.h index 62a8646344ab..7ae267250fd6 100644 --- a/libraries/lib-lv2/LV2Ports.h +++ b/libraries/lib-lv2/LV2Ports.h @@ -170,7 +170,7 @@ class LV2_API LV2ControlPort final : public LV2Port bool trigger, bool logarithmic ) : LV2Port{ port, index, isInput, symbol, name, group } , mScaleValues{ move(scaleValues) } - , mScaleLabels{ std::move(scaleLabels) } + , mScaleLabels( std::move(scaleLabels) ) , mUnits{ units } , mMin{ min }, mMax{ max }, mDef{ def } , mHasLo{ hasLo }, mHasHi{ hasHi } diff --git a/src/TagsEditor.cpp b/src/TagsEditor.cpp index 87744dcecc1b..a7c504c58dff 100644 --- a/src/TagsEditor.cpp +++ b/src/TagsEditor.cpp @@ -1,11 +1,11 @@ /********************************************************************** - + Audacity: A Digital Audio Editor - + TagsEditor.cpp - + Paul Licameli split from Tags.cpp - + **********************************************************************/ #include "TagsEditor.h" @@ -42,7 +42,7 @@ class ComboEditor final : public wxGridCellChoiceEditor public: ComboEditor(const wxArrayString& choices, bool allowOthers = false) : wxGridCellChoiceEditor(choices, allowOthers) - , m_choices{ choices } + , m_choices( choices ) , m_allowOthers{ allowOthers } { } diff --git a/src/prefs/GUIPrefs.cpp b/src/prefs/GUIPrefs.cpp index fe40f2ef9ac7..2f088f6e91c0 100644 --- a/src/prefs/GUIPrefs.cpp +++ b/src/prefs/GUIPrefs.cpp @@ -68,7 +68,7 @@ void GUIPrefs::GetRangeChoices( int *pDefaultRangeIndex ) { - static const auto sCodes = { + static const wxArrayStringEx sCodes = { wxT("36") , wxT("48") , wxT("60") ,