changed type of on_revision value parameter to uint64_t

This commit is contained in:
2025-10-12 11:03:28 +02:00
parent 1fd2066946
commit 399fa9a157
14 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ public:
}
push(id);
}
void on_revision(const char *id, unsigned long long &/*rev*/);
void on_revision(const char *id, uint64_t &/*rev*/);
template<typename Type>
void on_attribute(const char *id, Type &, const utils::field_attributes &/*attr*/ = utils::null_attributes) {
@@ -29,7 +29,7 @@ public:
template<typename ValueType>
void on_primary_key(const char *id, ValueType &value, const utils::primary_key_attribute& attr = utils::default_pk_attributes);
static void on_revision(const char * /*id*/, unsigned long long &/*rev*/) {}
static void on_revision(const char * /*id*/, uint64_t &/*rev*/) {}
template < class Type >
static void on_attribute(const char * /*id*/, Type &/*x*/, const utils::field_attributes &/*attr*/ = utils::null_attributes) {}
@@ -39,7 +39,7 @@ public:
template<typename ValueType>
void on_primary_key(const char *id, ValueType &value, const utils::primary_key_attribute& attr = utils::default_pk_attributes);
void on_revision(const char * /*id*/, unsigned long long &/*rev*/) {
void on_revision(const char * /*id*/, uint64_t &/*rev*/) {
++column_index_;
}
@@ -36,7 +36,7 @@ public:
utils::data_type_traits<ValueType>::read_value(reader_, id, column_index_++, value, attr.size());
pk_ = value;
}
void on_revision(const char * /*id*/, unsigned long long &/*rev*/) { ++column_index_; }
void on_revision(const char * /*id*/, uint64_t &/*rev*/) { ++column_index_; }
template < class Type >
void on_attribute(const char * /*id*/, Type &/*x*/, const utils::field_attributes &/*attr*/ = utils::null_attributes) { ++column_index_; }