const OntologyTreeNode** OntologyTreeNode::getChildren() const
{
//const OntologyTreeNode** temp=(const OntologyTreeNode**)(this->children); // no need for this
//return temp;
return children;
}
string Investigator::getTaggedConcepts() const // no need to return a const object
{
//const string* tmp = (const string*)(this->taggedConcepts);
//return tmp;
return *taggedConcepts; // no need to cast, but you need to dereference the pointer
// since you're returning an object, not a pointer
}