CodeReview Fix: GetLineNum()?
diff --git a/tinyxml2.h b/tinyxml2.h
index e7bae7b..a72699c 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -710,7 +710,7 @@
void SetValue( const char* val, bool staticMem=false );
/// Gets the line number the node is in, if the document was parsed from a file.
- int GetParseLineNum() const { return _parseLineNum; }
+ int GetLineNum() const { return _parseLineNum; }
/// Get the parent of this node on the DOM.
const XMLNode* Parent() const {
@@ -1094,7 +1094,7 @@
const char* Value() const;
/// Gets the line number the attribute is in, if the document was parsed from a file.
- int GetParseLineNum() const { return _parseLineNum; }
+ int GetLineNum() const { return _parseLineNum; }
/// The next attribute in the list.
const XMLAttribute* Next() const {