Skip to content

Commit

Permalink
multi_handle.hxx: enable two forward decls also for Visual Studio (is…
Browse files Browse the repository at this point in the history
…sue #533)
  • Loading branch information
michael-krause-bruker authored and hmaarrfk committed Nov 13, 2023
1 parent 173e2c5 commit fcb9e6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/vigra/multi_handle.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,13 @@ namespace vigra {
template <unsigned TARGET_INDEX, class Handle, unsigned int INDEX=Handle::index>
struct CoupledHandleCast;

#ifndef _MSC_VER // Visual Studio doesn't like these forward declarations
template <unsigned int TARGET_INDEX, class Handle>
typename CoupledHandleCast<TARGET_INDEX, Handle>::reference
get(Handle & handle);

template <unsigned int TARGET_INDEX, class Handle>
typename CoupledHandleCast<TARGET_INDEX, Handle>::const_reference
get(Handle const & handle);
#endif

/** \addtogroup MultiIteratorGroup
*/
Expand Down

0 comments on commit fcb9e6a

Please sign in to comment.