Skip to content

Commit 7857669

Browse files
Correct input initialization in builtin function
Result was moved twice instead of initializing `input` field with the given `input`.
1 parent 9bc995f commit 7857669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/refinement/string_builtin_function.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class string_transformation_builtin_functiont : public string_builtin_functiont
8383
array_string_exprt input)
8484
: string_builtin_functiont(std::move(return_code)),
8585
result(std::move(result)),
86-
input(std::move(result))
86+
input(std::move(input))
8787
{
8888
}
8989

0 commit comments

Comments
 (0)