Commit b940f9c9 authored by aggsol's avatar aggsol 🙉

fix dot creation

parent 90bf6271
......@@ -124,7 +124,7 @@ void Graph::createDotFile(const std::map<int, Section>& sections)
unsigned counter = 0;
for(auto& attr: s.second.m_classes)
{
if(attr.find_first_of("location-") != std::string::npos)
if(attr.find("location-") != std::string::npos)
{
// std::cout << "location=" << attr << "\n";
uint32_t value = crc32(attr.c_str(), attr.size(), 0);
......
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