X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e709643ef0c5b61c6c878016c418bffa2b1b20cd..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/mc/AddressSpace.hpp diff --git a/src/mc/AddressSpace.hpp b/src/mc/AddressSpace.hpp index 27d7496dd0..f05725bb7b 100644 --- a/src/mc/AddressSpace.hpp +++ b/src/mc/AddressSpace.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-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. */ @@ -23,7 +23,7 @@ class ReadOptions { constexpr explicit ReadOptions(std::uint32_t value) : value_(value) {} public: - constexpr ReadOptions() {} + constexpr ReadOptions() = default; explicit constexpr operator bool() const { return value_ != 0; } constexpr bool operator!() const { return value_ == 0; }