Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a typo found by clang in MC builds
[simgrid.git] / src / xbt / string.cpp
index 412b22e..b286aa8 100644 (file)
@@ -1,23 +1,13 @@
-/* Copyright (c) 2015-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-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. */
 
-#include <simgrid/config.h>
 #include <xbt/string.hpp>
 #include <xbt/sysdep.h>
 
-#include <cstdarg>
-#include <cstdio>
-
 namespace simgrid::xbt {
 
-#if SIMGRID_HAVE_MC
-
-char string::NUL = '\0';
-
-#endif
-
 std::string string_vprintf(const char *fmt, va_list ap)
 {
   // Get the size: