Ver código fonte

Code cleanup

Tatsuhiro Tsujikawa 12 anos atrás
pai
commit
9e35750bb8
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/DefaultBtInteractive.h

+ 2 - 2
src/DefaultBtInteractive.h

@@ -72,13 +72,13 @@ public:
 
   void incChokeUnchokeCount() {
     if(chokeUnchokeCount < INT_MAX) {
-      chokeUnchokeCount++;
+      ++chokeUnchokeCount;
     }
   }
 
   void incKeepAliveCount() {
     if(keepAliveCount < INT_MAX) {
-      keepAliveCount++;
+      ++keepAliveCount;
     }
   }