activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1463302 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h
Date Mon, 01 Apr 2013 21:08:56 GMT
Author: tabish
Date: Mon Apr  1 21:08:56 2013
New Revision: 1463302

URL: http://svn.apache.org/r1463302
Log:
Fix some warnings

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h?rev=1463302&r1=1463301&r2=1463302&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/FutureTask.h Mon
Apr  1 21:08:56 2013
@@ -312,7 +312,7 @@ namespace concurrent {
             /**
              * Implements AQS base acquire to succeed if ran or cancelled
              */
-            virtual int tryAcquireShared(int ignore) {
+            virtual int tryAcquireShared(int ignore DECAF_UNUSED) {
                 return innerIsDone() ? 1 : -1;
             }
 
@@ -320,7 +320,7 @@ namespace concurrent {
              * Implements AQS base release to always signal after setting
              * final done status by nulling runner thread.
              */
-            virtual bool tryReleaseShared(int ignore) {
+            virtual bool tryReleaseShared(int ignore DECAF_UNUSED) {
                 runner = NULL;
                 return true;
             }



Mime
View raw message