]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
DecayCounter: remove unnecessary delta member
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 8 Jun 2018 22:02:17 +0000 (15:02 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 15 Jun 2018 14:04:42 +0000 (07:04 -0700)
commit50c573910b7d32b937c75738c0bc1e5fb357e603
tree35e93b3a0d0de422a83809b60f88b481c4440710
parentbc7cb5798593a29a636cb53412b73856d4e3a093
DecayCounter: remove unnecessary delta member

We can just add/sub to val directly (especially now that decay can be called on
a const DecayCounter).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/DecayCounter.cc
src/common/DecayCounter.h