summaryrefslogtreecommitdiff
path: root/abseil-cpp/absl/flags/reflection.h
diff options
context:
space:
mode:
Diffstat (limited to 'abseil-cpp/absl/flags/reflection.h')
-rw-r--r--abseil-cpp/absl/flags/reflection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/abseil-cpp/absl/flags/reflection.h b/abseil-cpp/absl/flags/reflection.h
index 4ce0ab6..e6baf5d 100644
--- a/abseil-cpp/absl/flags/reflection.h
+++ b/abseil-cpp/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
//