Skip to content

Commit

Permalink
Merge pull request #232 from CESNET/unirec++-unirec-record-fix
Browse files Browse the repository at this point in the history
unirec++ - fix checkDataTypeCompatibility for non-array values
  • Loading branch information
SiskaPavel authored Sep 30, 2024
2 parents ca2b475 + e9ff26f commit ee33107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unirec/include/unirec++/unirecRecord.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class UnirecRecord {
if (ur_is_array(fieldID)) {
expectedType = getExpectedUnirecType<RequiredType*>();
} else {
expectedType = getExpectedUnirecType<RequiredType*>();
expectedType = getExpectedUnirecType<RequiredType>();
}

if (expectedType != ur_get_type(fieldID)) {
Expand Down

0 comments on commit ee33107

Please sign in to comment.