Use return value of the function instead of a pointer to the target.
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 12 Dec 2011 14:02:47 +0000 (15:02 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 12 Dec 2011 14:02:47 +0000 (15:02 +0100)
commit0bde9f2c81324b1fdfdcd20bc3d2535af331420e
tree859337f74a4249ae45e9739a165b6686580f2d95
parent529e55873ecd23e7748117605f379eb9318a6f61
Use return value of the function instead of a pointer to the target.

C++ will automatically create a copy of the object upon return.
src/dns/dnsresolver.cpp
src/dns/dnsresolver.h