* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef Q_COMPILER_INITIALIZER_LISTS
void restrictTargetPeers(std::initializer_list<Peer*> peers, std::function<void()> closure) {
restrictTargetPeers(QSet<Peer*>(peers), std::move(closure));
}
#ifdef Q_COMPILER_INITIALIZER_LISTS
void restrictTargetPeers(std::initializer_list<Peer*> peers, std::function<void()> closure) {
restrictTargetPeers(QSet<Peer*>(peers), std::move(closure));
}
QHash<QByteArray, int> _methodIds;
QHash<int, int> _receiveMap; // if slot x is called then hand over the result to slot y
};
QHash<QByteArray, int> _methodIds;
QHash<int, int> _receiveMap; // if slot x is called then hand over the result to slot y
};