blob: b829201f490561080ed2e394a689400f82f5d7db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Index: gazebo-7.3.1/gazebo/util/LogPlay.cc
===================================================================
--- gazebo-7.3.1.orig/gazebo/util/LogPlay.cc
+++ gazebo-7.3.1/gazebo/util/LogPlay.cc
@@ -72,7 +72,7 @@ void LogPlay::Open(const std::string &_l
// Flag use to indicate if a parser failure has occurred
bool xmlParserFail = this->dataPtr->xmlDoc.LoadFile(_logFile.c_str()) !=
- tinyxml2::XML_NO_ERROR;
+ tinyxml2::XML_SUCCESS;
// Parse the log file
if (xmlParserFail)
@@ -105,7 +105,7 @@ void LogPlay::Open(const std::string &_l
// Retry loading the log file.
xmlParserFail = this->dataPtr->xmlDoc.LoadFile(_logFile.c_str()) !=
- tinyxml2::XML_NO_ERROR;
+ tinyxml2::XML_SUCCESS;
}
}
}
|