X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f409d6f711ba652a6fd78e185791cf7870b6765d..aa30bf6e0f4908e00e77ad0e132aca707df9fa9c:/src/xbt/PropertyHolder.cpp diff --git a/src/xbt/PropertyHolder.cpp b/src/xbt/PropertyHolder.cpp index 6ed3c8a18b..6bdafbd0fa 100644 --- a/src/xbt/PropertyHolder.cpp +++ b/src/xbt/PropertyHolder.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2021. 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. */ @@ -41,7 +41,7 @@ template void PropertyHolder::set_properties(const Assoc& properti { if (not properties_) properties_ = std::make_unique>(); - std::unordered_map props(properties.cbegin(), properties.cend()); + std::unordered_map props(std::cbegin(properties), std::cend(properties)); #if __cplusplus >= 201703L props.merge(properties_); #else