summaryrefslogtreecommitdiff
path: root/absl/flags/reflection.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/flags/reflection.h')
-rw-r--r--absl/flags/reflection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/flags/reflection.h b/absl/flags/reflection.h
index 4ce0ab6c..e6baf5de 100644
--- a/absl/flags/reflection.h
+++ b/absl/flags/reflection.h
@@ -64,7 +64,7 @@ absl::flat_hash_map<absl::string_view, absl::CommandLineFlag*> GetAllFlags();
// void MyFunc() {
// absl::FlagSaver fs;
// ...
-// absl::SetFlag(FLAGS_myFlag, otherValue);
+// absl::SetFlag(&FLAGS_myFlag, otherValue);
// ...
// } // scope of FlagSaver left, flags return to previous state
//