X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/149c63f36e15b8500b1e826bda5138318ff7ba2b..512273b5dab057e0f93aaed9c09c79d0e4960b61:/include/xbt/config.h diff --git a/include/xbt/config.h b/include/xbt/config.h index 2fde39a4d7..8d73be60c0 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -1,7 +1,7 @@ /* config - Dictionary where the type of each cell is provided. */ /* This is useful to build named structs, like option or property sets. */ -/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -56,7 +56,7 @@ /** @brief Configuration set's data type is opaque. */ #ifdef __cplusplus #include -typedef simgrid::config::Config* xbt_cfg_t; +using xbt_cfg_t = simgrid::config::Config*; #else typedef void* xbt_cfg_t; #endif