diff options
author | Tobias Markmann <tobias.markmann@isode.com> | 2019-10-18 06:19:53 (GMT) |
---|---|---|
committer | Tobias Markmann <tobias.markmann@isode.com> | 2019-10-18 06:19:53 (GMT) |
commit | 7de9a3489c3e2ddc4c0ab78f43649c5d6be20aca (patch) | |
tree | e0cfb4493ae07c3aa2270d3b94a1eb66ff4956dc /Swiften/Network/NATPMPInterface.h | |
parent | 2239cdae45b39e675877ae32c86c47bcadce3090 (diff) | |
download | swift-7de9a3489c3e2ddc4c0ab78f43649c5d6be20aca.zip swift-7de9a3489c3e2ddc4c0ab78f43649c5d6be20aca.tar.bz2 |
Return unique_ptr in PlatformIDNConverter::create()
There are cases where users of this method forget to
free the pointer. This is now avoided by returning a
unique_ptr.
Test-Information:
All existing unit and integration tests, i.e. `./scons
test=all` pass.
Change-Id: I10a88c3361823074d81db7af8cec1bd70c409995
Diffstat (limited to 'Swiften/Network/NATPMPInterface.h')
0 files changed, 0 insertions, 0 deletions