Fix some clang warnings (#378)

* Remove extra semicolon

* Fix automatic type conversion

* Replace dynamic exception specifications by C++11 noexcept

* Fix deprecated definition of implicit copy constructor for 'Exception'
This commit is contained in:
Vincent Cogne
2016-06-13 05:10:14 +02:00
committed by Jesse Beder
parent 7c33b3cdab
commit f74ae543b4
3 changed files with 7 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ class YAML_CPP_API Node {
bool IsMap() const { return Type() == NodeType::Map; }
// bool conversions
YAML_CPP_OPERATOR_BOOL();
YAML_CPP_OPERATOR_BOOL()
bool operator!() const { return !IsDefined(); }
// access