Skip to content

Commit ee33107

Browse files
authored
Merge pull request #232 from CESNET/unirec++-unirec-record-fix
unirec++ - fix checkDataTypeCompatibility for non-array values
2 parents ca2b475 + e9ff26f commit ee33107

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)