mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Minor: Rename primary key variable name.
This commit is contained in:
parent
9133320d56
commit
cda3222e63
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user