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:
jbeder
2009-01-01 20:14:32 +00:00
parent 51ea36e444
commit 4cebe50a9f
3 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ namespace YAML
public:
Exception(int line_, int column_, const std::string& msg_)
: line(line_), column(column_), msg(msg_) {}
virtual ~Exception() throw () {}
virtual ~Exception() {}
int line, column;
std::string msg;

View File

@@ -32,8 +32,8 @@ namespace YAML
private:
// can't copy this
Parser(const Parser& rhs) {}
Parser& operator = (const Parser& rhs) { return *this; }
Parser(const Parser&) {}
Parser& operator = (const Parser&) { return *this; }
private:
Scanner *m_pScanner;

View File

@@ -115,7 +115,7 @@
AdditionalIncludeDirectories="include"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
WarningLevel="3"
WarningLevel="4"
DebugInformationFormat="3"
/>
<Tool