Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
38d5e1df
Commit
38d5e1df
authored
Sep 20, 2020
by
Praetorius, Simon
Browse files
use VTK_ASSERT_MSG if a message is given
parent
b3d478f7
Changes
1
Show whitespace changes
Inline
Side-by-side
dune/vtk/vtkreader.impl.hh
View file @
38d5e1df
...
...
@@ -599,7 +599,7 @@ std::map<std::string, std::string> VtkReader<Grid,Creator>::parseXml (std::strin
case
XML_NAME_ASSIGN
:
value
.
clear
();
escape
=
false
;
VTK_ASSERT
(
c
==
'"'
&&
"Format error!"
);
VTK_ASSERT
_MSG
(
c
==
'"'
,
"Format error!"
);
sec
=
XML_VALUE
;
break
;
case
XML_VALUE
:
...
...
@@ -614,7 +614,7 @@ std::map<std::string, std::string> VtkReader<Grid,Creator>::parseXml (std::strin
}
break
;
default:
VTK_ASSERT
(
false
&&
"Format error!"
);
VTK_ASSERT
_MSG
(
false
,
"Format error!"
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment