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) {
|
if(!unit_data) {
|
||||||
_state = State::Invalid;
|
_state = State::Invalid;
|
||||||
return;
|
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) {
|
if(!name_prop) {
|
||||||
_name = Containers::NullOpt;
|
_name = Containers::NullOpt;
|
||||||
|
@ -184,7 +184,7 @@ void Mass::refreshValues() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto account_prop = _mass->at<StringProperty>("Account");
|
auto account_prop = _mass->at<StringProperty>("Account"_s);
|
||||||
if(!account_prop) {
|
if(!account_prop) {
|
||||||
_state = State::Invalid;
|
_state = State::Invalid;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue