Skip to content

Commit 276edb4

Browse files
committed
Wrap return value in std::move
This fixes #3238 (again).
1 parent 43c84f8 commit 276edb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/literals/convert_float_literal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ exprt convert_float_literal(const std::string &src)
101101
return complex_exprt(zero_real_component, result, complex_type);
102102
}
103103

104-
return result;
104+
return std::move(result);
105105
}

0 commit comments

Comments
 (0)