Commit 90bf6271 authored by aggsol's avatar aggsol 🙉

remove graph debug output

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