Removed some Visual Leak Detector-related code

[ci skip]

These should really be included only locally when testing, if anyone happens to use that tool.
This commit is contained in:
Charles Dang 2017-04-04 17:25:42 +11:00
parent aca6cae04b
commit 19e0d86e6d
2 changed files with 0 additions and 14 deletions

View file

@ -24,11 +24,6 @@
#include <cctype>
using namespace boost::math::constants;
#ifdef HAVE_VISUAL_LEAK_DETECTOR
#include "vld.h"
#endif
static lg::log_domain log_engine("engine");
#define DBG_NG LOG_STREAM(debug, log_engine)
static lg::log_domain log_scripting_formula("scripting/formula");

View file

@ -117,10 +117,6 @@
#include "gui/widgets/debug.hpp"
#endif
#ifdef HAVE_VISUAL_LEAK_DETECTOR
#include "vld.h"
#endif
class end_level_exception;
namespace game { struct error; }
@ -945,11 +941,6 @@ int wesnoth_main(int argc, char** argv)
int main(int argc, char** argv)
#endif
{
#ifdef HAVE_VISUAL_LEAK_DETECTOR
VLDEnable();
#endif
#ifdef _WIN32
(void)argc;
(void)argv;