mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fixed typo from null fix
This commit is contained in:
@@ -152,7 +152,7 @@ namespace YAML
|
|||||||
class BadConversion: public RepresentationException {
|
class BadConversion: public RepresentationException {
|
||||||
public:
|
public:
|
||||||
BadConversion()
|
BadConversion()
|
||||||
: RepresentationException(Mark::null(), ErrorMsg::BAD_CONVERSION) {}
|
: RepresentationException(Mark::null_mark(), ErrorMsg::BAD_CONVERSION) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
@@ -165,25 +165,25 @@ namespace YAML
|
|||||||
class BadDereference: public RepresentationException {
|
class BadDereference: public RepresentationException {
|
||||||
public:
|
public:
|
||||||
BadDereference()
|
BadDereference()
|
||||||
: RepresentationException(Mark::null(), ErrorMsg::BAD_DEREFERENCE) {}
|
: RepresentationException(Mark::null_mark(), ErrorMsg::BAD_DEREFERENCE) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class BadSubscript: public RepresentationException {
|
class BadSubscript: public RepresentationException {
|
||||||
public:
|
public:
|
||||||
BadSubscript()
|
BadSubscript()
|
||||||
: RepresentationException(Mark::null(), ErrorMsg::BAD_SUBSCRIPT) {}
|
: RepresentationException(Mark::null_mark(), ErrorMsg::BAD_SUBSCRIPT) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class BadPushback: public RepresentationException {
|
class BadPushback: public RepresentationException {
|
||||||
public:
|
public:
|
||||||
BadPushback()
|
BadPushback()
|
||||||
: RepresentationException(Mark::null(), ErrorMsg::BAD_PUSHBACK) {}
|
: RepresentationException(Mark::null_mark(), ErrorMsg::BAD_PUSHBACK) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class BadInsert: public RepresentationException {
|
class BadInsert: public RepresentationException {
|
||||||
public:
|
public:
|
||||||
BadInsert()
|
BadInsert()
|
||||||
: RepresentationException(Mark::null(), ErrorMsg::BAD_INSERT) {}
|
: RepresentationException(Mark::null_mark(), ErrorMsg::BAD_INSERT) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class EmitterException: public Exception {
|
class EmitterException: public Exception {
|
||||||
@@ -194,7 +194,7 @@ namespace YAML
|
|||||||
|
|
||||||
class BadFile: public Exception {
|
class BadFile: public Exception {
|
||||||
public:
|
public:
|
||||||
BadFile(): Exception(Mark::null(), ErrorMsg::BAD_FILE) {}
|
BadFile(): Exception(Mark::null_mark(), ErrorMsg::BAD_FILE) {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user