dictionary scalar lookup: simplified syntax using the type templated lookup function
Replaced
readScalar(dict.lookup("name"))
with
dict.lookup<scalar>("name")
This commit is contained in:
@ -13,7 +13,7 @@ IOdictionary conversionProperties
|
||||
|
||||
scalar startTime
|
||||
(
|
||||
readScalar(conversionProperties.lookup("startTime"))
|
||||
conversionProperties.lookup<scalar>("startTime")
|
||||
);
|
||||
|
||||
word vComp
|
||||
|
||||
Reference in New Issue
Block a user