Fix some warnings
This commit is contained in:
parent
be58f265dd
commit
4b8971b258
|
@ -52,7 +52,7 @@ else
|
|||
$$<<"\n";
|
||||
}%>
|
||||
};
|
||||
const std::string &{{className}}::getColumnName(int index) noexcept(false)
|
||||
const std::string &{{className}}::getColumnName(size_t index) noexcept(false)
|
||||
{
|
||||
assert(index < _metaData.size());
|
||||
return _metaData[index]._colName;
|
||||
|
|
|
@ -97,7 +97,7 @@ auto cols=@@.get<std::vector<ColumnInfo>>("columns");
|
|||
$$<<"\n";
|
||||
}
|
||||
%>
|
||||
static const std::string &getColumnName(int index) noexcept(false);
|
||||
static const std::string &getColumnName(size_t index) noexcept(false);
|
||||
static const std::vector<std::string> &insertColumns() noexcept;
|
||||
void outputArgs(drogon::orm::internal::SqlBinder &binder) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue