Add the default ctor in model classes

This commit is contained in:
an-tao 2018-11-22 23:46:27 +08:00
parent b1193f592f
commit b9c172a4a3
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ auto cols=@@.get<std::vector<ColumnInfo>>("columns");
PrimaryKeyType getPrimaryKey() const;
<%c++}%>
{{className}}(const Row &r) noexcept;
{{className}}() = default;
<%c++
for(auto col:cols)