I have a structure defined in class which has a operator overload function. And I have a hashmap defined. I am trying to access the hashmap variable from the operator overload function and I get following error:
error: invalid use of nonstatic data member ‘vigil::applications::Routing_module::weight_map’