Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Misc cosmetics for sonar.
[simgrid.git] / src / simix / smx_context.cpp
index d3ff3c623b8fa9620146081b095982be8d8a7976..86e1d7d339371c18047fa0e75532acd8c975768e 100644 (file)
@@ -1,13 +1,14 @@
 /* a fast and simple context switching library                              */
 
-/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2022. 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. */
 
 #include "src/kernel/context/Context.hpp"
 
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix, "Context switching mechanism");
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333)
+#include <simgrid/simix.h>
 
 int SIMIX_context_is_parallel() // XBT_ATTRIB_DEPRECATED_v333
 {