grishka / libtgvoip

VoIP library for Telegram clients
The Unlicense
389 stars 158 forks source link

Fix twice copying of NetworkAddress values in the Endpoint constructor #91

Open cher-nov opened 5 years ago

cher-nov commented 5 years ago

An excessive copying occurred when passing a value to the constructor, before copying it in the member initializer list.

This also (almost) fixes SWIG code generation for VoIPController source files.