[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "nat-traversal" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed May 18 12:25:46 CDT 2011


branch "nat-traversal" has been updated
       via  a8e34dcd80f2463264ed293640bc5fad167f7c0c (commit)
      from  4f82079337691e0f7c11764aba6dbb45fa806ebc (commit)

Summary of changes:
 src/CMakeLists.txt      |    2 +-
 src/Helpers/Network.cpp |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit a8e34dcd80f2463264ed293640bc5fad167f7c0c
Author: Brent Eagles <beagles at digium.com>
Date:   Wed May 18 14:55:26 2011 -0230

    Fix missing distructor and libraries in link line.

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a9eafb5..0065973 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -43,7 +43,7 @@ asterisk_scf_component_add_file(ice-util-cpp Helpers/Network.cpp)
 asterisk_scf_component_add_file(ice-util-cpp ../include/AsteriskSCF/Testing/IceBoxBoostTest.h)
 
 asterisk_scf_component_add_file(ice-util-cpp IceUtilCpp.cpp)
-asterisk_scf_component_add_boost_libraries(ice-util-cpp core thread date_time)
+asterisk_scf_component_add_boost_libraries(ice-util-cpp core system thread date_time)
 
 if(NOT logger_dir)
    message(FATAL_ERROR "The logger directory could not be found ${logger_dir}")
diff --git a/src/Helpers/Network.cpp b/src/Helpers/Network.cpp
index fe5aa57..b1768b8 100644
--- a/src/Helpers/Network.cpp
+++ b/src/Helpers/Network.cpp
@@ -76,6 +76,13 @@ private:
     tcp::resolver mResolver;
 };
 
+DNSQuery::~DNSQuery()
+{
+    //
+    // No-op.
+    //
+}
+
 DNSQueryPtr DNSQuery::create(const string& hostname, const string& serviceName)
 {
     tcp::resolver::query q(hostname, serviceName);

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list