diff options
Diffstat (limited to 'src/base/stats')
-rw-r--r-- | src/base/stats/info.hh | 4 | ||||
-rw-r--r-- | src/base/stats/text.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/base/stats/info.hh b/src/base/stats/info.hh index 85a0df447..4987fa810 100644 --- a/src/base/stats/info.hh +++ b/src/base/stats/info.hh @@ -44,7 +44,7 @@ const FlagsType none = 0x0000; /** This Stat is Initialized */ const FlagsType init = 0x0001; /** Print this stat. */ -const FlagsType print = 0x0002; +const FlagsType display = 0x0002; /** Print the total. */ const FlagsType total = 0x0010; /** Print the percent of the total that this entry represents. */ @@ -59,7 +59,7 @@ const FlagsType nozero = 0x0100; const FlagsType nonan = 0x0200; /** Mask of flags that can't be set directly */ -const FlagsType __reserved = init | print; +const FlagsType __reserved = init | display; struct StorageParams { diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 090ddff7d..f3c4d1c58 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -151,7 +151,7 @@ Text::output() bool Text::noOutput(const Info &info) { - if (!info.flags.isSet(print)) + if (!info.flags.isSet(display)) return true; if (info.prereq && info.prereq->zero()) |