Add two missing ref
This commit is contained in:
@@ -135,7 +135,7 @@ struct SelectQuery: public Query
|
||||
};
|
||||
|
||||
template <typename... T>
|
||||
auto select(const Table<T...> table)
|
||||
auto select(const Table<T...>& table)
|
||||
{
|
||||
SelectQuery<T...> query(table.name);
|
||||
return query;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace utils
|
||||
{
|
||||
std::string dirname(const std::string filename)
|
||||
std::string dirname(const std::string& filename)
|
||||
{
|
||||
if (filename.empty())
|
||||
return "./";
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
namespace utils
|
||||
{
|
||||
std::string dirname(const std::string filename);
|
||||
std::string dirname(const std::string& filename);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user