summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-08-02 18:38:53 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-08-03 16:57:34 +0900
commit9f8f6e032a61beaddeaa3bf3bb0ed08581c15b17 (patch)
tree48c605dca3bf900651a16962c1137e657a8577cf /starmath
parent1b52171752d5e4f9fc101a8bc15f6feb6599aaa2 (diff)
starmath: SmRootSymbolNode must have type NROOTSYMBOL
Change-Id: I1ce875fba10e0e84fc015cecdb5a36e48ee8ea0e
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/node.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index a2b50d7d0127..79661339b8a0 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -1254,7 +1254,7 @@ inline const SmNode* SmRootNode::Argument() const
inline SmRootSymbolNode* SmRootNode::Symbol()
{
assert( GetNumSubNodes() == 3 );
- OSL_ASSERT( GetSubNode( 1 )->GetType() == NROOTSYMBOL );
+ assert( GetSubNode( 1 )->GetType() == NROOTSYMBOL );
return static_cast< SmRootSymbolNode* >( GetSubNode( 1 ));
}
inline const SmRootSymbolNode* SmRootNode::Symbol() const