Skip to content

Commit 7b3ab41

Browse files
chinmaygardednfield
authored andcommitted
Minor: Rename primary key variable name.
1 parent 5289135 commit 7b3ab41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

impeller/archivist/archive_location.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ ArchiveLocation::ArchiveLocation(Archive& context,
1616
: context_(context),
1717
statement_(statement),
1818
registration_(registration),
19-
name_(name),
19+
primary_key_(name),
2020
current_class_(registration.GetClassName()) {}
2121

2222
PrimaryKey ArchiveLocation::GetPrimaryKey() const {
23-
return name_;
23+
return primary_key_;
2424
}
2525

2626
bool ArchiveLocation::Write(ArchiveDef::Member member,

impeller/archivist/archive_location.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class ArchiveLocation {
166166
Archive& context_;
167167
ArchiveStatement& statement_;
168168
const ArchiveClassRegistration& registration_;
169-
PrimaryKey name_;
169+
PrimaryKey primary_key_;
170170
std::string current_class_;
171171

172172
friend class Archive;

0 commit comments

Comments
 (0)