Update namespace

This commit is contained in:
Guillaume Damiand 2018-09-06 18:46:39 +02:00
parent 2c8af2ebcc
commit 71555b18cf
1 changed files with 7 additions and 2 deletions

View File

@ -1039,16 +1039,21 @@ private:
QOpenGLShaderProgram rendering_program_p_l; QOpenGLShaderProgram rendering_program_p_l;
}; };
} // End namespace CGAL
#else // CGAL_USE_BASIC_VIEWER #else // CGAL_USE_BASIC_VIEWER
namespace CGAL
{
template<class T> template<class T>
void draw(const T& t, const char* ="", bool=false) void draw(const T& t, const char* ="", bool=false)
{ {
std::cerr<<"Impossible to draw, CGAL_USE_BASIC_VIEWER is not defined."<<std::endl; std::cerr<<"Impossible to draw, CGAL_USE_BASIC_VIEWER is not defined."<<std::endl;
} }
#endif // CGAL_USE_BASIC_VIEWER
} // End namespace CGAL } // End namespace CGAL
#endif // CGAL_USE_BASIC_VIEWER
#endif // CGAL_BASIC_VIEWER_QT_H #endif // CGAL_BASIC_VIEWER_QT_H