A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smells--
[simgrid.git]
/
src
/
smpi
/
smpi_pmpi.cpp
diff --git
a/src/smpi/smpi_pmpi.cpp
b/src/smpi/smpi_pmpi.cpp
index
6a56ecc
..
cf6d2f1
100644
(file)
--- a/
src/smpi/smpi_pmpi.cpp
+++ b/
src/smpi/smpi_pmpi.cpp
@@
-3174,13
+3174,12
@@
int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo){
}
int PMPI_Info_delete(MPI_Info info, char *key){
}
int PMPI_Info_delete(MPI_Info info, char *key){
- xbt_ex_t e;
if (info == nullptr || key==nullptr)
return MPI_ERR_ARG;
if (info == nullptr || key==nullptr)
return MPI_ERR_ARG;
-
TRY
{
+
try
{
xbt_dict_remove(info->info_dict, key);
xbt_dict_remove(info->info_dict, key);
- }
CATCH(e){
- xbt_ex_free(e);
+ }
+ catch(xbt_ex& e){
return MPI_ERR_INFO_NOKEY;
}
return MPI_SUCCESS;
return MPI_ERR_INFO_NOKEY;
}
return MPI_SUCCESS;