Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove an empty file
[simgrid.git] / src / smpi / smpi_keyvals.cpp
index 9eb473f..53cf51f 100644 (file)
@@ -4,13 +4,16 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "private.h"
-#include <unordered_map>
-#include <xbt/ex.hpp>
+//#include "private.h"
+#include "src/smpi/smpi_keyvals.hpp"
 
 namespace simgrid{
 namespace smpi{
 
+std::unordered_map<int, void*>* Keyval::attributes(){
+  return &attributes_;
+};
+
 
 template <> int Keyval::call_deleter<Comm>(Comm* obj, smpi_key_elem elem, int keyval, void * value, int* flag){
   if(elem->delete_fn.comm_delete_fn!=MPI_NULL_DELETE_FN){