X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..3f9b311ec56db95ec539001a860ae3c838c48312:/src/xbt/log_private.hpp diff --git a/src/xbt/log_private.hpp b/src/xbt/log_private.hpp index 48b0527c6d..7062a8daab 100644 --- a/src/xbt/log_private.hpp +++ b/src/xbt/log_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-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. */ @@ -16,12 +16,12 @@ struct xbt_log_appender_s { }; struct xbt_log_layout_s { - int (*do_layout)(const s_xbt_log_layout_t* l, xbt_log_event_t event, const char* fmt); + bool (*do_layout)(const s_xbt_log_layout_t* l, xbt_log_event_t event, const char* fmt); void (*free_)(const s_xbt_log_layout_t* l); void *data; }; -extern const std::array xbt_log_priority_names; +extern const std::array xbt_log_priority_names; /** * @ingroup XBT_log_implem