mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 20:50:04 +00:00
Make sure level3Product is const
This commit is contained in:
parent
54fd86de5c
commit
d687d04d76
1 changed files with 2 additions and 1 deletions
|
|
@ -87,7 +87,8 @@ public:
|
|||
else
|
||||
{
|
||||
// Validate level 3 product
|
||||
auto level3Product = common::GetLevel3ProductByAwipsId(value);
|
||||
const auto level3Product =
|
||||
common::GetLevel3ProductByAwipsId(value);
|
||||
return !level3Product.empty() && level3Product != "?";
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue