Project

General

Profile

Task #3158

Updated by Alex Afanasyev about 9 years ago

Currently, `Interest::getLink` attempts to create a new instance of Link object. 

 As part of #3155 and #3034 it was decided that getLink should remember the parsed Link object within internal `shared_ptr<Link>` variable (cannot use `unique_ptr` as it has deleted copy constructor). unique_ptr<Link> variable.    This also implies that the signature of getLink method needs to be changed to 

 ```cpp 
   const Link& 
   getLink() const; 
 ``` 

Back