From eb02dd8dc342d62feef04ec3ae35a5b00e2dbf5d Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Thu, 8 Nov 2012 18:40:44 -0600 Subject: [PATCH] Fixed typo from null fix --- include/yaml-cpp/exceptions.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/yaml-cpp/exceptions.h b/include/yaml-cpp/exceptions.h index ca27f41..3a2bd22 100644 --- a/include/yaml-cpp/exceptions.h +++ b/include/yaml-cpp/exceptions.h @@ -152,7 +152,7 @@ namespace YAML class BadConversion: public RepresentationException { public: BadConversion() - : RepresentationException(Mark::null(), ErrorMsg::BAD_CONVERSION) {} + : RepresentationException(Mark::null_mark(), ErrorMsg::BAD_CONVERSION) {} }; template @@ -165,25 +165,25 @@ namespace YAML class BadDereference: public RepresentationException { public: BadDereference() - : RepresentationException(Mark::null(), ErrorMsg::BAD_DEREFERENCE) {} + : RepresentationException(Mark::null_mark(), ErrorMsg::BAD_DEREFERENCE) {} }; class BadSubscript: public RepresentationException { public: BadSubscript() - : RepresentationException(Mark::null(), ErrorMsg::BAD_SUBSCRIPT) {} + : RepresentationException(Mark::null_mark(), ErrorMsg::BAD_SUBSCRIPT) {} }; class BadPushback: public RepresentationException { public: BadPushback() - : RepresentationException(Mark::null(), ErrorMsg::BAD_PUSHBACK) {} + : RepresentationException(Mark::null_mark(), ErrorMsg::BAD_PUSHBACK) {} }; class BadInsert: public RepresentationException { public: BadInsert() - : RepresentationException(Mark::null(), ErrorMsg::BAD_INSERT) {} + : RepresentationException(Mark::null_mark(), ErrorMsg::BAD_INSERT) {} }; class EmitterException: public Exception { @@ -194,7 +194,7 @@ namespace YAML class BadFile: public Exception { public: - BadFile(): Exception(Mark::null(), ErrorMsg::BAD_FILE) {} + BadFile(): Exception(Mark::null_mark(), ErrorMsg::BAD_FILE) {} }; }