Commit 5f416cf4 authored by Brad King's avatar Brad King
Browse files

ERR: Removed dynamic_cast so that RTTI isn't required.

parent f08a1b88
......@@ -164,7 +164,8 @@ void cmCableClassSet::ParseAndAddElement(const char* element,
std::string setName = setDereference.match(1);
cmData* d = makefile->LookupData(setName.c_str());
cmCableClassSet* classSet = dynamic_cast<cmCableClassSet*>(d);
// This should be a dynamic_cast, but we don't want to require RTTI.
cmCableClassSet* classSet = static_cast<cmCableClassSet*>(d);
this->AddCableClassSet(*classSet, sources);
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