Optimize CEpgInfoTag. No more copies, just shared pointers.

@opdenkamp This is the EpgInfoTag optimization we discussed in #5629.  
I'm pretty sure that the compiler will optimise it out, but it's fine to 
keep it like you have it now for /pvr imo. As for the rest: if the 
maintainers of those parts want an assignment, then you should use that 
instead there.

On 21-11-14 14:51, ksooo wrote:
>
> In xbmc/GUIInfoManager.cpp:
>
> > @@ -1529,9 +1529,9 @@ CStdString CGUIInfoManager::GetLabel(int info, int contextWindow, std::string *f
> >        {
> >          if (m_currentFile->HasPVRChannelInfoTag())
> >          {
> > -          CEpgInfoTag tag;
> > -          return m_currentFile->GetPVRChannelInfoTag()->GetEPGNow(tag) ?
> > -                   tag.Title() :
> > +          CEpgInfoTagPtr tag(m_currentFile->GetPVRChannelInfoTag()->GetEPGNow());
>
> "same" what? initialization vs assignment. Sorry, no.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/xbmc/xbmc/pull/5763/files#r20715309>.
>