From 506fc3bc9f4300d3b82f574dc77e4dc49f43ac27 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 15 Mar 2018 11:19:52 +0100 Subject: [PATCH] [SMPI] Added comment regard Datatype::keyvals --- src/smpi/mpi/smpi_datatype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smpi/mpi/smpi_datatype.cpp b/src/smpi/mpi/smpi_datatype.cpp index 7f5470a34f..5beb552b79 100644 --- a/src/smpi/mpi/smpi_datatype.cpp +++ b/src/smpi/mpi/smpi_datatype.cpp @@ -97,8 +97,8 @@ CREATE_MPI_DATATYPE(MPI_PTR, void*); namespace simgrid{ namespace smpi{ -std::unordered_map Datatype::keyvals_; -int Datatype::keyval_id_=0; +std::unordered_map Datatype::keyvals_; // required by the Keyval class implementation +int Datatype::keyval_id_=0; // required by the Keyval class implementation Datatype::Datatype(int size,MPI_Aint lb, MPI_Aint ub, int flags) : name_(nullptr), size_(size), lb_(lb), ub_(ub), flags_(flags), refcount_(1){ #if SIMGRID_HAVE_MC -- 2.20.1