Add the default ctor in model classes
This commit is contained in:
parent
b1193f592f
commit
b9c172a4a3
|
@ -77,6 +77,7 @@ auto cols=@@.get<std::vector<ColumnInfo>>("columns");
|
||||||
PrimaryKeyType getPrimaryKey() const;
|
PrimaryKeyType getPrimaryKey() const;
|
||||||
<%c++}%>
|
<%c++}%>
|
||||||
{{className}}(const Row &r) noexcept;
|
{{className}}(const Row &r) noexcept;
|
||||||
|
{{className}}() = default;
|
||||||
|
|
||||||
<%c++
|
<%c++
|
||||||
for(auto col:cols)
|
for(auto col:cols)
|
||||||
|
|
Loading…
Reference in New Issue