summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eolian/database_type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian/database_type.c b/src/lib/eolian/database_type.c
index 6381cf8496..52973fb453 100644
--- a/src/lib/eolian/database_type.c
+++ b/src/lib/eolian/database_type.c
@@ -107,7 +107,7 @@ database_type_to_str(const Eolian_Type *tp,
107 || tp->type == EOLIAN_TYPE_CLASS 107 || tp->type == EOLIAN_TYPE_CLASS
108 || tp->type == EOLIAN_TYPE_VOID) 108 || tp->type == EOLIAN_TYPE_VOID)
109 && tp->is_const 109 && tp->is_const
110 && ((ctype != EOLIAN_C_TYPE_RETURN) || database_type_is_ownable(NULL, tp, EINA_FALSE))) 110 && ((ctype != EOLIAN_C_TYPE_RETURN) || by_ref || database_type_is_ownable(NULL, tp, EINA_FALSE)))
111 { 111 {
112 eina_strbuf_append(buf, "const "); 112 eina_strbuf_append(buf, "const ");
113 } 113 }