[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Dec 6 08:29:21 CST 2010


branch "master" has been updated
       via  c2c52a84376b44740f9be2579a88160838303525 (commit)
      from  4a538313aa8c9a4c08d6d160397a9005097ca2ab (commit)

Summary of changes:
 server/src/FileChainedLogOut.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit c2c52a84376b44740f9be2579a88160838303525
Author: David M. Lee <dlee at digium.com>
Date:   Thu Dec 2 15:50:34 2010 -0600

    Pass shared_ptr by reference.
    
    See CR-ASTSCF-4.

diff --git a/server/src/FileChainedLogOut.h b/server/src/FileChainedLogOut.h
index 89958c6..abd5c3e 100644
--- a/server/src/FileChainedLogOut.h
+++ b/server/src/FileChainedLogOut.h
@@ -36,7 +36,9 @@ public:
         ChainedLogOut(), mLogFile(logFile)
     {
     }
-    FileChainedLogOut(const std::string& logFile, boost::shared_ptr<ChainedLogOut> next) :
+    FileChainedLogOut(const std::string& logFile,
+        const boost::shared_ptr<ChainedLogOut>& next)
+        :
         ChainedLogOut(next), mLogFile(logFile)
     {
     }

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


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list