Skip to content

Commit

Permalink
Add move constructors to builtin_function_nodet
Browse files Browse the repository at this point in the history
Because of some issues with Visual Studio these need to be defined.
  • Loading branch information
romainbrenguier committed Mar 21, 2018
1 parent 0c0861a commit 85a293a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/solvers/refinement/string_refinement_util.h
Expand Up @@ -164,6 +164,17 @@ class string_dependenciest
: index(i), data(std::move(d))
{
}

builtin_function_nodet(builtin_function_nodet &&other)
: index(other.index), data(std::move(other.data))
{
}

builtin_function_nodet &operator=(builtin_function_nodet &&other)
{
index = other.index;
data = std::move(other.data);
}
};

/// A string node points to builtin_function on which it depends
Expand Down

0 comments on commit 85a293a

Please sign in to comment.