Skip to content

Commit

Permalink
fix fallthrough warning that suddenly popped up (why now?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Nov 20, 2023
1 parent b54b195 commit e84f1b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rerun_cpp/src/rerun/datatypes/tensor_buffer_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@ namespace rerun::datatypes {
}
case detail::TensorBufferTag::NV12: {
assert(false && "Can't ask for the number of elements in an NV12 encoded image");
break;
}
case detail::TensorBufferTag::JPEG: {
assert(false && "Can't ask for the number of elements in a JPEG");
break;
}
}
assert(false && "Unknown TensorBuffer tag");
Expand Down

0 comments on commit e84f1b7

Please sign in to comment.