diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-08-02 18:38:53 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-08-03 16:57:34 +0900 |
commit | 9f8f6e032a61beaddeaa3bf3bb0ed08581c15b17 (patch) | |
tree | 48c605dca3bf900651a16962c1137e657a8577cf /starmath | |
parent | 1b52171752d5e4f9fc101a8bc15f6feb6599aaa2 (diff) |
starmath: SmRootSymbolNode must have type NROOTSYMBOL
Change-Id: I1ce875fba10e0e84fc015cecdb5a36e48ee8ea0e
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/node.hxx | 2 |
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 |