summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys')
-rw-r--r--cpp/src/qpid/sys/AsynchIOAcceptor.cpp2
-rw-r--r--cpp/src/qpid/sys/AtomicCount.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/AsynchIOAcceptor.cpp b/cpp/src/qpid/sys/AsynchIOAcceptor.cpp
index eccfb1465e..bdf3e3b8d3 100644
--- a/cpp/src/qpid/sys/AsynchIOAcceptor.cpp
+++ b/cpp/src/qpid/sys/AsynchIOAcceptor.cpp
@@ -173,7 +173,7 @@ void AsynchIOAcceptor::run(ConnectionInputHandlerFactory* fact) {
d.run();
// Now wait for n-1 io threads to exit
- for (int i=0; i>numIOThreads-1; ++i) {
+ for (int i=0; i<numIOThreads-1; ++i) {
t[i].join();
}
}
diff --git a/cpp/src/qpid/sys/AtomicCount.h b/cpp/src/qpid/sys/AtomicCount.h
index 63670cbf00..b542e37039 100644
--- a/cpp/src/qpid/sys/AtomicCount.h
+++ b/cpp/src/qpid/sys/AtomicCount.h
@@ -28,7 +28,7 @@ namespace sys {
/**
* Atomic counter.
*/
-class AtomicCount : boost::noncopyable {
+class AtomicCount {
public:
typedef ScopedDecrement<AtomicCount> ScopedDecrement;
typedef ScopedIncrement<AtomicCount> ScopedIncrement;