Changeset - 5cb27b2e82d0
[Not reviewed]
0 1 0
dexterlb - 8 years ago 2017-12-26 21:38:25
dexterlb@qtrp.org
fix regex initialisation on C++98
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
libtransport/NetworkPluginServer.cpp
Show inline comments
 
@@ -1794,7 +1794,7 @@ void NetworkPluginServer::handleBuddyRemoved(Buddy *b) {
 
}
 

	
 
void NetworkPluginServer::wrapIncomingImage(Swift::Message* msg, const pbnetwork::ConversationMessage& payload) {
 
    static boost::regex image_expr{"<img src=[\"']([^\"']+)[\"'].*>"};
 
    static boost::regex image_expr("<img src=[\"']([^\"']+)[\"'].*>");
 

	
 
    if (payload.xhtml().find("<img") != std::string::npos) {
 
        boost::smatch match;
0 comments (0 inline, 0 general)