Merge pull request #3003 from afabri/Parameterization-inline-GF

Surface_mesh_parameterization: inline get_error_message()
This commit is contained in:
Laurent Rineau 2018-04-24 17:33:54 +02:00
commit 50c37a5eeb
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ enum Error_code
/// \brief Get the message corresponding to an error code.
/// \param error_code The code returned by `parameterize()`
/// \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!
static const char* error_message[ERROR_WRONG_PARAMETER+1] = {