qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r1243676 - /qpid/trunk/qpid/cpp/src/qpid/log/Logger.cpp
Date Mon, 13 Feb 2012 20:21:05 GMT
Author: tross
Date: Mon Feb 13 20:21:05 2012
New Revision: 1243676

URL: http://svn.apache.org/viewvc?rev=1243676&view=rev
Log:
QPID-3638 - Fixed boost usage problem.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/log/Logger.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/log/Logger.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/log/Logger.cpp?rev=1243676&r1=1243675&r2=1243676&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/log/Logger.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/log/Logger.cpp Mon Feb 13 20:21:05 2012
@@ -23,7 +23,7 @@
 #include "qpid/sys/Thread.h"
 #include "qpid/sys/Time.h"
 #include "qpid/DisableExceptionLogging.h"
-#include <boost/pool/detail/singleton.hpp>
+#include <boost/serialization/singleton.hpp>
 #include <boost/bind.hpp>
 #include <boost/function.hpp>
 #include <algorithm>
@@ -45,7 +45,7 @@ inline void Logger::enable_unlocked(Stat
 }
 
 Logger& Logger::instance() {
-    return boost::details::pool::singleton_default<Logger>::instance();
+    return boost::serialization::singleton<Logger>::get_mutable_instance();
 }
 
 Logger::Logger() : flags(0) {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message