refactor: Remove redundant CVariant functions

This commit is contained in:
Lars Toenning
2026-06-07 00:37:36 +02:00
parent 9f7e8d02c6
commit f50c956ab8
32 changed files with 120 additions and 134 deletions

View File

@@ -69,7 +69,7 @@ namespace swift::sample
atcList.push_back(station1);
CAtcStation station1Cpy(station1);
CFrequency changedFrequency(118.25, CFrequencyUnit::MHz());
CPropertyIndexVariantMap vm(CAtcStation::IndexFrequency, CVariant::from(changedFrequency));
CPropertyIndexVariantMap vm(CAtcStation::IndexFrequency, CVariant::fromValue(changedFrequency));
// demonstration apply
CPropertyIndexList changedProperties;