mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-06 02:49:31 -06:00
fixed gcc/clang warnings
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Orm::Utils
|
||||
{
|
||||
QString columnized;
|
||||
// Estimate a size to avoid resizing, 7 for an item and 2 for the delimiter
|
||||
columnized.reserve(container.size() * (7 + 2));
|
||||
columnized.reserve(static_cast<QString::size_type>(container.size()) * (7 + 2));
|
||||
|
||||
if (container.empty())
|
||||
return columnized;
|
||||
|
||||
@@ -104,9 +104,9 @@ namespace Tom::Commands::Make::Support
|
||||
QString createUsingsSection();
|
||||
|
||||
/*! Include paths for the generated model. */
|
||||
std::set<QString> m_includesList;
|
||||
std::set<QString> m_includesList {};
|
||||
/*! Using directives for the generated model. */
|
||||
std::set<QString> m_usingsList;
|
||||
std::set<QString> m_usingsList {};
|
||||
|
||||
private:
|
||||
/*! Ensure that a model with the given name doesn't already exist. */
|
||||
|
||||
Reference in New Issue
Block a user