X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/22295f640199d3f6ec3e2a0cc71d4db7049047ce..6ea8c0a3f8d1ed3e9c285396578faed40f4a648f:/src/smpi/include/smpi_f2c.hpp diff --git a/src/smpi/include/smpi_f2c.hpp b/src/smpi/include/smpi_f2c.hpp index ef758dd38a..97f3eb322b 100644 --- a/src/smpi/include/smpi_f2c.hpp +++ b/src/smpi/include/smpi_f2c.hpp @@ -34,10 +34,9 @@ public: F2C(); virtual ~F2C() = default; - // Override these to handle specific values. - virtual int add_f(); + int add_f(); static void free_f(int id) { f2c_lookup_->erase(id); } - virtual int c2f(); + int c2f(); static void print_f2c_lookup(); // This method should be overridden in all subclasses to avoid casting the result when calling it. // For the default one, the MPI_*_NULL returned is assumed to be NULL.