Skip to content

Commit

Permalink
Make Model class copyable
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-bhuiyan committed Jul 31, 2024
1 parent 5a098db commit 0d39f0d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/restruct_poc/model/model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ class Model {
beam_elements_(std::move(beam_elements)),
constraints_(std::move(constraints)) {}

// Make the class non-copyable and non-assignable
Model(const Model&) = delete;
Model& operator=(const Model&) = delete;

/// Add a node to the model and return a shared pointer to the node
std::shared_ptr<Node> AddNode(
const Array_7& position, const Array_7& displacement = Array_7{0., 0., 0., 1., 0., 0., 0.},
Expand Down

0 comments on commit 0d39f0d

Please sign in to comment.