diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-03-07 15:00:46 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-03-07 15:00:46 +0000 |
commit | 277edccb6a50928b8d39ba36e12aecfd6aa45d07 (patch) | |
tree | 65352f9365b8f353b4cccb334197e0a366485da6 | |
parent | 4d47dde39b5d741561dc11832427a2c73eeb941e (diff) |
Use corrcet type for short.
-rw-r--r-- | document/src/vespa/document/fieldvalue/shortfieldvalue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/fieldvalue/shortfieldvalue.h b/document/src/vespa/document/fieldvalue/shortfieldvalue.h index dff7644159e..fa61c37c4eb 100644 --- a/document/src/vespa/document/fieldvalue/shortfieldvalue.h +++ b/document/src/vespa/document/fieldvalue/shortfieldvalue.h @@ -28,7 +28,7 @@ public: using NumericFieldValue<Number>::operator=; DECLARE_IDENTIFIABLE(ShortFieldValue); - static std::unique_ptr<ShortFieldValue> make(int32_t value = 0) { return std::make_unique<ShortFieldValue>(value); } + static std::unique_ptr<ShortFieldValue> make(int16_t value = 0) { return std::make_unique<ShortFieldValue>(value); } }; } // document |