const_cast: convert some C-style casts and remove some redundant ones
Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
This commit is contained in:
@@ -73,7 +73,7 @@ SbiExprNode::SbiExprNode( SbiParser* p, const SbiSymDef& r, SbxDataType t, SbiEx
|
||||
|
||||
eType = ( t == SbxVARIANT ) ? r.GetType() : t;
|
||||
eNodeType = SbxVARVAL;
|
||||
aVar.pDef = (SbiSymDef*) &r;
|
||||
aVar.pDef = const_cast<SbiSymDef*>(&r);
|
||||
aVar.pPar = l;
|
||||
aVar.pvMorePar = NULL;
|
||||
aVar.pNext= NULL;
|
||||
|
Reference in New Issue
Block a user