From 0f2f219e22822683e8cbe00f730ae05bfc7f5b7a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 10 Apr 2018 12:34:10 +0100 Subject: [PATCH] inline get_error_message() --- .../include/CGAL/Surface_mesh_parameterization/Error_code.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/Error_code.h b/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/Error_code.h index 658d6b72ea8..cd7969b223a 100644 --- a/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/Error_code.h +++ b/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/Error_code.h @@ -45,7 +45,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] = {