diff --git a/retroshare-gui/src/gui/common/FriendSelectionWidget.cpp b/retroshare-gui/src/gui/common/FriendSelectionWidget.cpp index ae0ed41b4..8991b0012 100644 --- a/retroshare-gui/src/gui/common/FriendSelectionWidget.cpp +++ b/retroshare-gui/src/gui/common/FriendSelectionWidget.cpp @@ -689,7 +689,8 @@ void FriendSelectionWidget::requestGXSIdList() mIdQueue->requestGroupInfo(token, RS_TOKREQ_ANSTYPE_DATA, opts, IDDIALOG_IDLIST); } -template<> void FriendSelectionWidget::setSelectedIds(const std::set& ids, bool add) +// This call is inlined so that there's no linking conflict with MinGW on Windows +template<> inline void FriendSelectionWidget::setSelectedIds(const std::set& ids, bool add) { mPreSelectedGxsIds = ids ; requestGXSIdList();