Skip to content

Commit

Permalink
Removed some Visual Leak Detector-related code
Browse files Browse the repository at this point in the history
[ci skip]

These should really be included only locally when testing, if anyone happens to use that tool.
  • Loading branch information
Vultraz committed Apr 4, 2017
1 parent aca6cae commit 19e0d86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions src/formula/function.cpp
Expand Up @@ -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");
Expand Down
9 changes: 0 additions & 9 deletions src/wesnoth.cpp
Expand Up @@ -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; }

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 19e0d86

Please sign in to comment.