Mass: add a few missing string views.
This commit is contained in:
parent
e997312286
commit
76613c2ec5
1 changed files with 3 additions and 3 deletions
|
@ -98,13 +98,13 @@ void Mass::refreshValues() {
|
|||
}
|
||||
}
|
||||
|
||||
auto unit_data = _mass->at<GenericStructProperty>("UnitData");
|
||||
auto unit_data = _mass->at<GenericStructProperty>("UnitData"_s);
|
||||
if(!unit_data) {
|
||||
_state = State::Invalid;
|
||||
return;
|
||||
}
|
||||
|
||||
auto name_prop = unit_data->at<StringProperty>("Name_45_A037C5D54E53456407BDF091344529BB");
|
||||
auto name_prop = unit_data->at<StringProperty>("Name_45_A037C5D54E53456407BDF091344529BB"_s);
|
||||
|
||||
if(!name_prop) {
|
||||
_name = Containers::NullOpt;
|
||||
|
@ -184,7 +184,7 @@ void Mass::refreshValues() {
|
|||
return;
|
||||
}
|
||||
|
||||
auto account_prop = _mass->at<StringProperty>("Account");
|
||||
auto account_prop = _mass->at<StringProperty>("Account"_s);
|
||||
if(!account_prop) {
|
||||
_state = State::Invalid;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue