Fix variable naming.
Test: mma
Change-Id: Ibe44c28e989e6504d47abfa0367ca6c018f1d8fb
diff --git a/properties.cpp b/properties.cpp
index 8190987..d925b10 100644
--- a/properties.cpp
+++ b/properties.cpp
@@ -232,7 +232,7 @@
}
const char* CachedProperty::Get(bool* changed) {
- std::optional<uint32_t> initial_property_serial_ = cached_property_serial_;
+ std::optional<uint32_t> initial_property_serial = cached_property_serial_;
// Do we have a `struct prop_info` yet?
if (prop_info_ == nullptr) {
@@ -267,7 +267,7 @@
}
if (changed) {
- *changed = cached_property_serial_ != initial_property_serial_;
+ *changed = cached_property_serial_ != initial_property_serial;
}
if (is_read_only_) {