fix C2440 in Visual Studio (uniform initialization of juce::String)

This commit is contained in:
Birch-san
2019-07-31 23:16:31 +01:00
parent c05d784412
commit 9e723c7636
4 changed files with 5 additions and 5 deletions

View File

@ -80,7 +80,7 @@ void TableComponent::loadModelFrom(ValueTree& banks) {
for(int presetIx{0}; presetIx<bankChildren; presetIx++) {
ValueTree preset{bank.getChild(presetIx)};
int presetNum{preset.getProperty("num")};
String presetName{preset.getProperty("name")};
String presetName = preset.getProperty("name");
TableRow row{presetNum, move(presetName)};
banksToPresets.emplace(bankNum, move(row));
}