Minor: Rename primary key variable name.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user