summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-28 21:53:36 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-28 21:53:36 +0100
commit5fe14174334968cbe65454f8f7b14512aa6c50ee (patch)
treeffd128175fdbc452718a58b4013131efbc703d50 /src/verify.h
parentafb1983635bfb70b129822ecff7de1b1f2052d05 (diff)
Rename size -> size_in_bytes.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/verify.h b/src/verify.h
index 5639eae6..eac68f62 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -632,7 +632,7 @@ private:
OTHER_ASSET_ID,
REEL_INDEX, ///< reel index, counting from 0
REFERENCE_HASH,
- SIZE,
+ SIZE_IN_BYTES
};
template <class T>
@@ -676,13 +676,13 @@ public:
return data<int>(Data::COMPONENT);
}
- VerificationNote& set_size(int size) {
- _data[Data::SIZE] = size;
+ VerificationNote& set_size_in_bytes(uint64_t size) {
+ _data[Data::SIZE_IN_BYTES] = size;
return *this;
}
- boost::optional<int> size() const {
- return data<int>(Data::SIZE);
+ boost::optional<uint64_t> size_in_bytes() const {
+ return data<uint64_t>(Data::SIZE_IN_BYTES);
}
VerificationNote& set_load_font_id(std::string id) {