mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-18 04:56:10 -04:00

a non-const variable: EmbedInHtml embedInfos(_embedInfos) ; However, since EmbedInHtml is the base class we lose any information added in the derived class, which causes a problem with EmbedInHtmlImg when we do a static_cast to what should have been the proper type here: const EmbedInHtmlImg& embedImg = static_cast<const EmbedInHtmlImg&>(embedInfos); embedInfos is not an EmbedInHtmlImg any more, just a mere EmbedInHtml. We could const_cast the QRegExp object instead but let's keep it simple and remove the embedInfos constness from the method's signature. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
Description
RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
Languages
C++
85.6%
C
7%
QMake
1.7%
HTML
1.4%
NSIS
1%
Other
3.1%