Skip to content

Commit e9ff26f

Browse files
committed
unirec++ - fix checkDataTypeCompatibility for non-array values
1 parent ca2b475 commit e9ff26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unirec/include/unirec++/unirecRecord.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ class UnirecRecord {
339339
if (ur_is_array(fieldID)) {
340340
expectedType = getExpectedUnirecType<RequiredType*>();
341341
} else {
342-
expectedType = getExpectedUnirecType<RequiredType*>();
342+
expectedType = getExpectedUnirecType<RequiredType>();
343343
}
344344

345345
if (expectedType != ur_get_type(fieldID)) {

0 commit comments

Comments
 (0)