From fa8a0708598a895b7ea52868bcc7dbb0b3e4edc3 Mon Sep 17 00:00:00 2001 From: Patrick Flick Date: Mon, 8 May 2017 12:29:12 -0400 Subject: [PATCH] fixes --- include/mxx/datatypes.hpp | 1 - include/mxx/env.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/mxx/datatypes.hpp b/include/mxx/datatypes.hpp index aff3e89..93574a4 100644 --- a/include/mxx/datatypes.hpp +++ b/include/mxx/datatypes.hpp @@ -78,7 +78,6 @@ class is_builtin_type : public std::false_type {}; class datatype; -// TODO: there has to be a better way for this } // namespace mxx std::false_type make_datatype(); diff --git a/include/mxx/env.hpp b/include/mxx/env.hpp index 7ce8051..48cfac0 100644 --- a/include/mxx/env.hpp +++ b/include/mxx/env.hpp @@ -30,7 +30,7 @@ namespace mxx { -void my_mpi_errorhandler(MPI_Comm* comm, int* error_code, ...) { +inline void my_mpi_errorhandler(MPI_Comm* comm, int* error_code, ...) { char buf[MPI_MAX_ERROR_STRING]; int strlen; int error_class;