]> git.ipfire.org Git - thirdparty/ccache.git/commit
Introduce Counters::{get,set}_raw
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 11 Sep 2020 07:41:11 +0000 (09:41 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 14 Sep 2020 17:40:06 +0000 (19:40 +0200)
commitdf5c0ed3a70b581a011004ec114109ccdfd9634a
tree3551045852463acdc7c4b67d292e1d0c78e2c65f
parentb552f99f4fad10ddc5ff447054ed1ad1b91a17da
Introduce Counters::{get,set}_raw

Casting an integer to an enum class value is undefined behavior so let’s
strive not to do that.
src/Counters.cpp
src/Counters.hpp
src/stats.cpp