Commit fe57829a authored by Jesse Beder's avatar Jesse Beder
Browse files

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

parent b5c53d9e
#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
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#define YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66 #define YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#include "crt.h"
#include "parser.h" #include "parser.h"
#include "node.h" #include "node.h"
#include "iterator.h" #include "iterator.h"
......
#include "crt.h"
#include "aliascontent.h" #include "aliascontent.h"
namespace YAML namespace YAML
......
#include "crt.h"
#include "content.h"
namespace YAML
{
Content::Content()
{
}
Content::~Content()
{
}
}
...@@ -23,8 +23,8 @@ namespace YAML ...@@ -23,8 +23,8 @@ namespace YAML
class Content class Content
{ {
public: public:
Content(); Content() {}
virtual ~Content(); virtual ~Content() {}
virtual Content *Clone() const = 0; virtual Content *Clone() const = 0;
......
#include "crt.h"
#include "exp.h" #include "exp.h"
#include "exceptions.h" #include "exceptions.h"
#include <sstream> #include <sstream>
......
#include "crt.h"
#include "node.h" #include "node.h"
#include "exceptions.h" #include "exceptions.h"
#include "iterpriv.h" #include "iterpriv.h"
......
#include "crt.h"
#include "map.h" #include "map.h"
#include "node.h" #include "node.h"
#include "scanner.h" #include "scanner.h"
......
#include "crt.h"
#include "node.h" #include "node.h"
#include "token.h" #include "token.h"
#include "scanner.h" #include "scanner.h"
......
#include "crt.h"
#include "parser.h" #include "parser.h"
#include "scanner.h" #include "scanner.h"
#include "token.h" #include "token.h"
......
#include "crt.h"
#include "parserstate.h" #include "parserstate.h"
namespace YAML namespace YAML
......
#include "crt.h"
#include "regex.h" #include "regex.h"
namespace YAML namespace YAML
......
#include "crt.h"
#include "scalar.h" #include "scalar.h"
#include "scanner.h" #include "scanner.h"
#include "token.h" #include "token.h"
......
#include "crt.h"
#include "scanner.h" #include "scanner.h"
#include "token.h" #include "token.h"
#include "exceptions.h" #include "exceptions.h"
......
#include "crt.h"
#include "scanscalar.h" #include "scanscalar.h"
#include "scanner.h" #include "scanner.h"
#include "exp.h" #include "exp.h"
......
#include "crt.h"
#include "scanner.h" #include "scanner.h"
#include "token.h" #include "token.h"
#include "exceptions.h" #include "exceptions.h"
......
#include "crt.h"
#include "sequence.h" #include "sequence.h"
#include "node.h" #include "node.h"
#include "scanner.h" #include "scanner.h"
......
#include "crt.h"
#include "scanner.h" #include "scanner.h"
#include "token.h" #include "token.h"
#include "exceptions.h" #include "exceptions.h"
......
#include "crt.h"
#include "stream.h" #include "stream.h"
#include <iostream> #include <iostream>
#include "exp.h" #include "exp.h"
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
int main() int main()
{ {
#ifdef WINDOWS
_CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF|_CRTDBG_ALLOC_MEM_DF);
#endif // WINDOWS
Test::RunAll(); Test::RunAll();
return 0; return 0;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment