Use class names consistently
First you use,
scope1.setType<Addressbook>();
Later you use,
scope2.setType<Sink::ApplicationDomain::Contact>();
Use one format for specifying type.
Edited by Bhushan Shah
First you use,
scope1.setType<Addressbook>();
Later you use,
scope2.setType<Sink::ApplicationDomain::Contact>();
Use one format for specifying type.