We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36917b1 + 82814f9 commit c0d3ef4Copy full SHA for c0d3ef4
unirec/include/unirec++/unirecRecord.hpp
@@ -339,7 +339,9 @@ class UnirecRecord {
339
if (ur_is_array(fieldID)) {
340
expectedType = getExpectedUnirecType<RequiredType*>();
341
} else {
342
- expectedType = getExpectedUnirecType<RequiredType>();
+ if constexpr (!std::is_same_v<RequiredType, std::byte>) {
343
+ expectedType = getExpectedUnirecType<RequiredType>();
344
+ }
345
}
346
347
if (expectedType != ur_get_type(fieldID)) {
0 commit comments