get rid of few warnings

This commit is contained in:
2022-01-16 15:04:34 +01:00
parent a1eb0eecbb
commit 44b615959c
6 changed files with 8 additions and 9 deletions

4
row.h
View File

@@ -138,7 +138,7 @@ struct ColBooleanValue : ColValue {
class Row {
public:
explicit Row(int cols_count, bool visible) : m_columns(cols_count), m_visible(visible) {};
explicit Row(int cols_count, bool visible) : m_visible(visible), m_columns(cols_count) {};
Row(const Row &other);
Row &operator=(Row other);
@@ -184,7 +184,7 @@ public:
void set_visible() { m_visible = true; };
void set_deleted() { m_visible = true; };
private:
private:
bool m_visible;
std::vector<std::variant<ColNullValue, ColIntegerValue, ColDoubleValue, ColStringValue, ColDateValue, ColBooleanValue>> m_columns;
};