mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Removed throw() specifier in Exception (I don't remember putting it in). This may solve a gcc error (I haven't tested it yet) or it may break it further.
This commit is contained in:
@@ -48,7 +48,7 @@ namespace YAML
|
|||||||
public:
|
public:
|
||||||
Exception(int line_, int column_, const std::string& msg_)
|
Exception(int line_, int column_, const std::string& msg_)
|
||||||
: line(line_), column(column_), msg(msg_) {}
|
: line(line_), column(column_), msg(msg_) {}
|
||||||
virtual ~Exception() throw () {}
|
virtual ~Exception() {}
|
||||||
|
|
||||||
int line, column;
|
int line, column;
|
||||||
std::string msg;
|
std::string msg;
|
||||||
|
@@ -32,8 +32,8 @@ namespace YAML
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// can't copy this
|
// can't copy this
|
||||||
Parser(const Parser& rhs) {}
|
Parser(const Parser&) {}
|
||||||
Parser& operator = (const Parser& rhs) { return *this; }
|
Parser& operator = (const Parser&) { return *this; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Scanner *m_pScanner;
|
Scanner *m_pScanner;
|
||||||
|
@@ -115,7 +115,7 @@
|
|||||||
AdditionalIncludeDirectories="include"
|
AdditionalIncludeDirectories="include"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
EnableFunctionLevelLinking="true"
|
EnableFunctionLevelLinking="true"
|
||||||
WarningLevel="3"
|
WarningLevel="4"
|
||||||
DebugInformationFormat="3"
|
DebugInformationFormat="3"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
Reference in New Issue
Block a user