diff options
author | Henning Baldersheim <balder@oath.com> | 2018-05-30 15:49:36 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-05-30 15:49:36 +0200 |
commit | bde967b4d2a10d36817ba11ff163c729ad030fd1 (patch) | |
tree | 036d186cb294b6169eb1fac50255602841b19594 /document | |
parent | 5a67e861558414944a94da5e6609b04c80e5acc7 (diff) |
Better naming
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/update/fieldupdate.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/document/src/vespa/document/update/fieldupdate.cpp b/document/src/vespa/document/update/fieldupdate.cpp index 7cf01576869..277d6467ae8 100644 --- a/document/src/vespa/document/update/fieldupdate.cpp +++ b/document/src/vespa/document/update/fieldupdate.cpp @@ -18,11 +18,12 @@ FieldUpdate::FieldUpdate(const Field& field) namespace { - int readInt(ByteBuffer & buffer) { - int fieldId; - buffer.getIntNetwork(fieldId); - return fieldId; - } +int readInt(ByteBuffer & buffer) { + int tmp; + buffer.getIntNetwork(tmp); + return tmp; +} + } FieldUpdate::FieldUpdate(const DocumentTypeRepo& repo, const DocumentType& type, ByteBuffer& buffer, int16_t version) |