Removed crt stuff (we can do memory leak checking in Linux easier)

This commit is contained in:
Jesse Beder
2009-10-27 14:55:01 +00:00
parent b5c53d9e3a
commit fe57829aca
20 changed files with 2 additions and 52 deletions

View File

@@ -1,17 +0,0 @@
#pragma once
#ifndef CRT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define CRT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
// for detecting memory leaks
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#endif // _DEBUG
#endif // CRT_H_62B23520_7C8E_11DE_8A39_0800200C9A66

View File

@@ -4,7 +4,6 @@
#define YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#include "crt.h"
#include "parser.h"
#include "node.h"
#include "iterator.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "aliascontent.h"
namespace YAML

View File

@@ -1,13 +0,0 @@
#include "crt.h"
#include "content.h"
namespace YAML
{
Content::Content()
{
}
Content::~Content()
{
}
}

View File

@@ -23,8 +23,8 @@ namespace YAML
class Content
{
public:
Content();
virtual ~Content();
Content() {}
virtual ~Content() {}
virtual Content *Clone() const = 0;

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "exp.h"
#include "exceptions.h"
#include <sstream>

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "node.h"
#include "exceptions.h"
#include "iterpriv.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "map.h"
#include "node.h"
#include "scanner.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "node.h"
#include "token.h"
#include "scanner.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "parser.h"
#include "scanner.h"
#include "token.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "parserstate.h"
namespace YAML

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "regex.h"
namespace YAML

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "scalar.h"
#include "scanner.h"
#include "token.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "scanner.h"
#include "token.h"
#include "exceptions.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "scanscalar.h"
#include "scanner.h"
#include "exp.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "scanner.h"
#include "token.h"
#include "exceptions.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "sequence.h"
#include "node.h"
#include "scanner.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "scanner.h"
#include "token.h"
#include "exceptions.h"

View File

@@ -1,4 +1,3 @@
#include "crt.h"
#include "stream.h"
#include <iostream>
#include "exp.h"

View File

@@ -2,10 +2,6 @@
int main()
{
#ifdef WINDOWS
_CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF|_CRTDBG_ALLOC_MEM_DF);
#endif // WINDOWS
Test::RunAll();
return 0;
}