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

Fixed some gcc warnings.

parent 5c0db0d2
......@@ -85,8 +85,8 @@ namespace YAML
void ParseAlias(Scanner *pScanner, const ParserState& state);
private:
bool m_alias;
std::string m_anchor, m_tag;
Content *m_pContent;
bool m_alias;
};
}
......@@ -13,8 +13,8 @@ namespace YAML
struct IterPriv
{
IterPriv(): type(IT_NONE) {}
IterPriv(std::vector <Node *>::const_iterator it): seqIter(it), type(IT_SEQ) {}
IterPriv(std::map <Node *, Node *, ltnode>::const_iterator it): mapIter(it), type(IT_MAP) {}
IterPriv(std::vector <Node *>::const_iterator it): type(IT_SEQ), seqIter(it) {}
IterPriv(std::map <Node *, Node *, ltnode>::const_iterator it): type(IT_MAP), mapIter(it) {}
enum ITER_TYPE { IT_NONE, IT_SEQ, IT_MAP };
ITER_TYPE type;
......
......@@ -3,11 +3,13 @@
#include <fstream>
#include <iostream>
#ifdef _MSC_VER
#ifdef _DEBUG
#pragma comment(lib, "yamlcppd.lib")
#else
#pragma comment(lib, "yamlcpp.lib")
#endif
#endif // _DEBUG
#endif // _MSC_VER
void run()
{
......
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