Skip to content

Commit

Permalink
Remove template for std::shared_ptr<vpDisplay> createDisplay() function.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Jul 29, 2024
1 parent 518a327 commit 8eb86a0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/gui/include/visp3/gui/vpDisplayFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,12 @@ vpDisplay *allocateDisplay(vpImage<T> &I, const int winx = -1, const int winy =

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
/**
* \brief Return a smart pointer vpDisplay specialization initialized with \b I
* \brief Return a smart pointer vpDisplay specialization
* if a GUI library is available or nullptr otherwise.
*
* \tparam T : Any type that an image can handle and that can be displayed.
*
* \return A smart pointer pointing to a vpDisplay specialization initialized with \b I
* \return A smart pointer pointing to a vpDisplay specialization
* if a GUI library is available or nullptr otherwise.
*/
template<typename T>
std::shared_ptr<vpDisplay> createDisplay()
{
#if defined(VISP_HAVE_DISPLAY)
Expand Down

0 comments on commit 8eb86a0

Please sign in to comment.