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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Mar 8 10:39:03 CST 2012


branch "retry_deux" has been updated
       via  0485490749d2b3b9b1c9b13cf0be64ea98a40e75 (commit)
      from  1907e2be4808a8afbae6b6492ce79cb173b075ff (commit)

Summary of changes:
 src/Operations/OperationContextCache.cpp           |    2 +-
 .../OperationContextCacheTest.cpp                  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 0485490749d2b3b9b1c9b13cf0be64ea98a40e75
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Thu Mar 8 10:38:20 2012 -0600

    Updated OperationContextCache to use the factory to create the cache.

diff --git a/src/Operations/OperationContextCache.cpp b/src/Operations/OperationContextCache.cpp
index 28ace80..576d9c8 100644
--- a/src/Operations/OperationContextCache.cpp
+++ b/src/Operations/OperationContextCache.cpp
@@ -194,7 +194,7 @@ OperationContextCache::~OperationContextCache()
 }
 
 /**
- * Non-locking contains() operation for code sharing. 
+ * Non-locking operation for code sharing. 
  */
 OperationContextCacheEntryPtr OperationContextCache::get(const OperationContextPtr& operationContext)
 {
diff --git a/test/OperationContextCache/OperationContextCacheTest.cpp b/test/OperationContextCache/OperationContextCacheTest.cpp
index 1973c89..a9ff493 100644
--- a/test/OperationContextCache/OperationContextCacheTest.cpp
+++ b/test/OperationContextCache/OperationContextCacheTest.cpp
@@ -53,7 +53,7 @@ static void runOperationContextCacheTest()
 
     const int TTL_SECONDS(5);
 
-    OperationContextCachePtr cache = new OperationContextCache(TTL_SECONDS, lg, "TestCache");
+    OperationContextCachePtr cache = OperationContextCache::create(TTL_SECONDS, lg, "TestCache");
     std::vector<OperationContextPtr> testOperations;
 
     // Verify empty

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


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



More information about the asterisk-scf-commits mailing list