Skip to content

Commit

Permalink
fix(script): make script copy and move public
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Apr 3, 2023
1 parent 2c2a099 commit 1d6a3b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/phoenix/script.hh
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,9 @@ namespace phoenix {

class script {
public:
PHOENIX_API script(const script& copy) = default;
PHOENIX_API script(script&& move) = default;

/// \brief Parses in a compiled daedalus script.
/// \param path The path of the script file.
/// \return The script parsed
Expand Down Expand Up @@ -781,8 +784,6 @@ namespace phoenix {

protected:
PHOENIX_INTERNAL script() = default;
PHOENIX_INTERNAL script(const script& copy) = default;
PHOENIX_INTERNAL script(script&& move) = default;

template <typename _class, typename _member, int N>
symbol* _check_member(std::string_view name, const std::type_info* type) {
Expand Down

0 comments on commit 1d6a3b7

Please sign in to comment.