From cda3222e63ea7b4366c588bbfa755a6f5f522116 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Sat, 11 Dec 2021 14:42:23 -0800 Subject: [PATCH] Minor: Rename primary key variable name. --- engine/src/flutter/impeller/archivist/archive_location.cc | 4 ++-- engine/src/flutter/impeller/archivist/archive_location.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/impeller/archivist/archive_location.cc b/engine/src/flutter/impeller/archivist/archive_location.cc index 85080f9bab4..1945d6492c3 100644 --- a/engine/src/flutter/impeller/archivist/archive_location.cc +++ b/engine/src/flutter/impeller/archivist/archive_location.cc @@ -16,11 +16,11 @@ ArchiveLocation::ArchiveLocation(Archive& context, : context_(context), statement_(statement), registration_(registration), - name_(name), + primary_key_(name), current_class_(registration.GetClassName()) {} PrimaryKey ArchiveLocation::GetPrimaryKey() const { - return name_; + return primary_key_; } bool ArchiveLocation::Write(ArchiveDef::Member member, diff --git a/engine/src/flutter/impeller/archivist/archive_location.h b/engine/src/flutter/impeller/archivist/archive_location.h index 2afdb4faa1f..af218868941 100644 --- a/engine/src/flutter/impeller/archivist/archive_location.h +++ b/engine/src/flutter/impeller/archivist/archive_location.h @@ -166,7 +166,7 @@ class ArchiveLocation { Archive& context_; ArchiveStatement& statement_; const ArchiveClassRegistration& registration_; - PrimaryKey name_; + PrimaryKey primary_key_; std::string current_class_; friend class Archive;