Commit 38d5e1df authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

use VTK_ASSERT_MSG if a message is given

parent b3d478f7
...@@ -599,7 +599,7 @@ std::map<std::string, std::string> VtkReader<Grid,Creator>::parseXml (std::strin ...@@ -599,7 +599,7 @@ std::map<std::string, std::string> VtkReader<Grid,Creator>::parseXml (std::strin
case XML_NAME_ASSIGN: case XML_NAME_ASSIGN:
value.clear(); value.clear();
escape = false; escape = false;
VTK_ASSERT( c == '"' && "Format error!" ); VTK_ASSERT_MSG( c == '"', "Format error!" );
sec = XML_VALUE; sec = XML_VALUE;
break; break;
case XML_VALUE: case XML_VALUE:
...@@ -614,7 +614,7 @@ std::map<std::string, std::string> VtkReader<Grid,Creator>::parseXml (std::strin ...@@ -614,7 +614,7 @@ std::map<std::string, std::string> VtkReader<Grid,Creator>::parseXml (std::strin
} }
break; break;
default: default:
VTK_ASSERT(false && "Format error!"); VTK_ASSERT_MSG(false, "Format error!");
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment