From 1407ee352e6644047a5f99339e9fcd7e31467d9d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 21 May 2017 01:23:05 +0200 Subject: [PATCH] Remove an empty file (thx, sonar) --- include/xbt/memory.hpp | 18 ------------------ src/mc/checker/LivenessChecker.hpp | 1 - src/mc/mc_checkpoint.cpp | 5 ++--- tools/cmake/DefinePackages.cmake | 1 - 4 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 include/xbt/memory.hpp diff --git a/include/xbt/memory.hpp b/include/xbt/memory.hpp deleted file mode 100644 index 3673943d4e..0000000000 --- a/include/xbt/memory.hpp +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright (c) 2016. 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. */ - -#ifndef SIMGRIX_XBT_MEMORY_HPP -#define SIMGRIX_XBT_MEMORY_HPP - -#include - -namespace simgrid { -namespace xbt { - -} -} - -#endif diff --git a/src/mc/checker/LivenessChecker.hpp b/src/mc/checker/LivenessChecker.hpp index a428ac8bf1..9b095c1d10 100644 --- a/src/mc/checker/LivenessChecker.hpp +++ b/src/mc/checker/LivenessChecker.hpp @@ -17,7 +17,6 @@ #include #include #include -#include #include "src/mc/mc_state.h" #include "src/mc/checker/Checker.hpp" diff --git a/src/mc/mc_checkpoint.cpp b/src/mc/mc_checkpoint.cpp index 37169199f7..f1b4c2dcf2 100644 --- a/src/mc/mc_checkpoint.cpp +++ b/src/mc/mc_checkpoint.cpp @@ -17,10 +17,9 @@ #include "src/internal_config.h" #include "src/mc/mc_private.h" -#include "xbt/module.h" -#include -#include #include "src/smpi/private.h" +#include "xbt/mmalloc.h" +#include "xbt/module.h" #include "src/xbt/mmalloc/mmprivate.h" diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index f69d5dfdc4..e513d437d6 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -727,7 +727,6 @@ set(headers_to_install include/xbt/log.hpp include/xbt/mallocator.h include/xbt/matrix.h - include/xbt/memory.hpp include/xbt/misc.h include/xbt/mmalloc.h include/xbt/module.h -- 2.20.1