fixed compilation

This commit is contained in:
2026-07-06 06:53:11 +02:00
parent 1b98eb4019
commit 89b795c488
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -42,7 +42,9 @@ table::table(const table &other)
, alias_(other.alias_)
, schema_name_(other.schema_name_)
, columns_(other.columns_)
, pk_column_index_(other.pk_column_index_){
, pk_column_index_(other.pk_column_index_)
, join_column_index_(other.join_column_index_)
, inverse_join_column_index_(other.inverse_join_column_index_) {
for (auto &col : columns_) {
col.table(this);
}
@@ -64,6 +66,8 @@ table & table::operator=(table &&other) noexcept {
alias_ = std::move(other.alias_);
columns_ = std::move(other.columns_);
pk_column_index_ = other.pk_column_index_;
join_column_index_ = other.join_column_index_;
inverse_join_column_index_ = other.inverse_join_column_index_;
for (auto &col : columns_) {
col.table(this);
}