removed unused on_attribute overloads
This commit is contained in:
@@ -35,7 +35,7 @@ struct pk_field_locator {
|
||||
: base(&obj) {}
|
||||
|
||||
template <typename PrimaryKeyType>
|
||||
void on_primary_key(const char *, PrimaryKeyType &pk, const utils::primary_key_attribute & = utils::default_pk_attributes) {
|
||||
void on_primary_key(const char *, PrimaryKeyType &pk, const utils::primary_key_attribute & /*attr*/) {
|
||||
// Offset bestimmen
|
||||
const auto* obj_bytes = reinterpret_cast<std::uint8_t*>(base);
|
||||
const auto* pk_bytes = reinterpret_cast<std::uint8_t*>(&pk);
|
||||
@@ -113,7 +113,7 @@ struct pk_field_locator {
|
||||
}
|
||||
static void on_revision(const char *, std::uint64_t &) {}
|
||||
template <typename V>
|
||||
static void on_attribute(const char *, V &, const utils::field_attributes & = matador::utils::null_attributes) {}
|
||||
static void on_attribute(const char *, V &, const utils::field_attributes &/*attr*/) {}
|
||||
template <typename Pointer>
|
||||
static void on_belongs_to(const char *, Pointer &, const utils::foreign_attributes &) {}
|
||||
template <typename Pointer>
|
||||
|
||||
Reference in New Issue
Block a user