mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Removed crt stuff (we can do memory leak checking in Linux easier)
This commit is contained in:
@@ -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
|
|
@@ -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"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "aliascontent.h"
|
#include "aliascontent.h"
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
|
@@ -1,13 +0,0 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "content.h"
|
|
||||||
|
|
||||||
namespace YAML
|
|
||||||
{
|
|
||||||
Content::Content()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
Content::~Content()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "exp.h"
|
#include "exp.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
#include "iterpriv.h"
|
#include "iterpriv.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "map.h"
|
#include "map.h"
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "parserstate.h"
|
#include "parserstate.h"
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "scalar.h"
|
#include "scalar.h"
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "scanscalar.h"
|
#include "scanscalar.h"
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
#include "exp.h"
|
#include "exp.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "sequence.h"
|
#include "sequence.h"
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
#include "crt.h"
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "exp.h"
|
#include "exp.h"
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user