X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/50102ec1c30562e20d450afa7015374387bf1904..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/kernel/resource/profile/Profile.cpp diff --git a/src/kernel/resource/profile/Profile.cpp b/src/kernel/resource/profile/Profile.cpp index 03b6da096f..234e2eb009 100644 --- a/src/kernel/resource/profile/Profile.cpp +++ b/src/kernel/resource/profile/Profile.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-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. */ @@ -28,10 +28,8 @@ namespace profile { Profile::Profile() { /* Add the first fake event storing the time at which the trace begins */ - DatedValue val(0, -1); - StochasticDatedValue stoval(0, -1); - event_list.emplace_back(val); - stochastic_event_list.emplace_back(stoval); + event_list.emplace_back(0, -1); + stochastic_event_list.emplace_back(0, -1); } Profile::~Profile() = default;