diff --git a/Geo/GModelIO_Fourier.cpp b/Geo/GModelIO_Fourier.cpp index 2b4b42bb55487149ffd48076617acd2ce762bd5b..d4a836a0b3f57682e25664f8072e591d79dc5b41 100644 --- a/Geo/GModelIO_Fourier.cpp +++ b/Geo/GModelIO_Fourier.cpp @@ -144,8 +144,8 @@ int GModel::readFourier(const std::string &fn) int GModel::writeFourier(const std::string &fn) { - Msg(GERROR, "Gmsh has to be compiled with Fourier Model support to load '%s'", - fn.c_str()); + Msg::Error("Gmsh has to be compiled with Fourier Model support to load '%s'", + fn.c_str()); return 0; }