Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFC6DE04C for ; Wed, 28 Nov 2012 19:03:20 +0000 (UTC) Received: (qmail 47528 invoked by uid 500); 28 Nov 2012 19:03:20 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 47488 invoked by uid 500); 28 Nov 2012 19:03:20 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 47479 invoked by uid 99); 28 Nov 2012 19:03:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 19:03:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 19:03:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 668092388993; Wed, 28 Nov 2012 19:02:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1414866 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h Date: Wed, 28 Nov 2012 19:02:58 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121128190259.668092388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Wed Nov 28 19:02:57 2012 New Revision: 1414866 URL: http://svn.apache.org/viewvc?rev=1414866&view=rev Log: Minor code fix. Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h?rev=1414866&r1=1414865&r2=1414866&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/LinkedBlockingQueue.h Wed Nov 28 19:02:57 2012 @@ -66,8 +66,8 @@ namespace concurrent { private: - QueueNode( const QueueNode& ); - QueueNode& operator= ( const QueueNode& ); + QueueNode(const QueueNode&); + QueueNode& operator=(const QueueNode&); public: @@ -110,8 +110,8 @@ namespace concurrent { class TotalLock { private: - TotalLock( const TotalLock& src ); - TotalLock& operator= ( const TotalLock& src ); + TotalLock(const TotalLock& src); + TotalLock& operator=(const TotalLock& src); private: @@ -119,7 +119,7 @@ namespace concurrent { public: - TotalLock( const LinkedBlockingQueue* parent ) : parent(parent) { + TotalLock(const LinkedBlockingQueue* parent) : parent(parent) { parent->putLock.lock(); parent->takeLock.lock(); } @@ -245,7 +245,7 @@ namespace concurrent { this->notEmpty.reset(this->takeLock.newCondition()); this->notFull.reset(this->putLock.newCondition()); - Pointer< Iterator > iter(queue.iterator); + Pointer< Iterator > iter(queue.iterator()); try {