mirror of https://github.com/CGAL/cgal
Merge pull request #3003 from afabri/Parameterization-inline-GF
Surface_mesh_parameterization: inline get_error_message()
This commit is contained in:
commit
50c37a5eeb
|
|
@ -49,7 +49,7 @@ enum Error_code
|
||||||
/// \brief Get the message corresponding to an error code.
|
/// \brief Get the message corresponding to an error code.
|
||||||
/// \param error_code The code returned by `parameterize()`
|
/// \param error_code The code returned by `parameterize()`
|
||||||
/// \return The string describing the error code.
|
/// \return The string describing the error code.
|
||||||
const char* get_error_message(int error_code)
|
inline const char* get_error_message(int error_code)
|
||||||
{
|
{
|
||||||
// Messages corresponding to Error_code list above. Must be kept in sync!
|
// Messages corresponding to Error_code list above. Must be kept in sync!
|
||||||
static const char* error_message[ERROR_WRONG_PARAMETER+1] = {
|
static const char* error_message[ERROR_WRONG_PARAMETER+1] = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue