FT field_type changed to const FT & field_type in functions arguments
This commit is contained in:
@@ -62,7 +62,7 @@ int DbExpression::get_output_type()
|
||||
}
|
||||
|
||||
|
||||
bool DbExpression::can_field_be_generated(FT field_type)
|
||||
bool DbExpression::can_field_be_generated(const FT & field_type)
|
||||
{
|
||||
if( output_type == MORM_OUTPUT_TYPE_DB_INSERT )
|
||||
{
|
||||
@@ -183,13 +183,13 @@ void DbExpression::put_name_value_separator()
|
||||
|
||||
|
||||
|
||||
void DbExpression::before_field_value_string(FT field_type)
|
||||
void DbExpression::before_field_value_string(const FT & field_type)
|
||||
{
|
||||
(*out_stream) << "'";
|
||||
}
|
||||
|
||||
|
||||
void DbExpression::after_field_value_string(FT field_type)
|
||||
void DbExpression::after_field_value_string(const FT & field_type)
|
||||
{
|
||||
(*out_stream) << "'";
|
||||
}
|
||||
|
Reference in New Issue
Block a user