Skip to content

Commit

Permalink
Minor: Rename primary key variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored and dnfield committed Apr 27, 2022
1 parent 5289135 commit 7b3ab41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions impeller/archivist/archive_location.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion impeller/archivist/archive_location.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b3ab41

Please sign in to comment.