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 ukoethe#533)
  • Loading branch information
michael-krause-bruker committed Oct 19, 2023
1 parent 5f63c40 commit c69a4d5
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 c69a4d5

Please sign in to comment.