Skip to content

Commit

Permalink
Update voxelImage.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ForoughiSajjad authored Jan 17, 2025
1 parent b6ef184 commit dd26bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvoxel/voxelImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ class voxelplugins
template<class InpT, typename T> //! run voxel plugins
int vxlProcess(const InpT& ins, voxelImageT<T>& img, string nam) { return voxelplugins<T>().process(ins,img,nam); }

template<class InpT, typename First=uint8_t, typename... Rest>
template<class InpT, typename First, typename... Rest>
int vxlProcess(const InpT& ins, voxelImageTBase* imgPtr, string nam) { //! detect type and run voxel plugins
if(auto img = dynamic_cast<voxelImageT<First>*>(imgPtr))
return vxlProcess<InpT,First>(ins,*img,nam);
Expand Down

0 comments on commit dd26bc8

Please sign in to comment.