summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2022-07-12 14:59:18 +0000
committer Roland Levillain <rpl@google.com> 2022-07-12 15:40:44 +0000
commitce2624d1035b45d0bdbf7a5fb233fc1ae111932c (patch)
tree6b6dcdb3296146847c6075e308b8915cd6f5570a
parentd94a700524b1cde11ddaeddef3f97c662011b2ed (diff)
Fix the example in the documentation of `art::Flags`.
#art-doc Test: n/a (comment-only change) Bug: 214176785 Change-Id: I97583af5841b0d597706c820b172d6006a2a7033
-rw-r--r--libartbase/base/flags.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libartbase/base/flags.h b/libartbase/base/flags.h
index fc568b2be2..4c38fbaeec 100644
--- a/libartbase/base/flags.h
+++ b/libartbase/base/flags.h
@@ -236,8 +236,8 @@ class Flag : public FlagBase {
//
// Flag<int> WriteMetricsToLog{"my-feature-test.flag", 42, FlagType::kDeviceConfig};
//
-// This creates a boolean flag that can be read through gFlags.WriteMetricsToLog(). The default
-// value is false. Note that the default value can be left unspecified, in which the value of the
+// This creates an integer flag that can be read through gFlags.WriteMetricsToLog(). The default
+// value is 42. Note that the default value can be left unspecified, in which case the value of the
// type's default constructor will be used.
//
// The flag can be set through the following generated means: