Commit 3aff35ec authored by Patrick Spendrin's avatar Patrick Spendrin
Browse files

const can't be casted this way

svn path=/trunk/KDE/kdeedu/kalgebra/; revision=1056779
parent 1fc5859b
......@@ -806,7 +806,7 @@ Analitza::BoundingIterator* Analitza::Analitza::initializeBVars(const Container*
if(isCorrect()) {
switch(domain->type()) {
case Object::list:
ret=new TypeBoundingIterator<List, List::const_iterator>(bvars.toVector(), static_cast<const List*>(domain));
ret=new TypeBoundingIterator<List, List::const_iterator>(bvars.toVector(), static_cast<List*>(domain));
break;
default:
m_err.append(i18n("Type not supported for bounding."));
......
Markdown is supported
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