Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Copy Safety #525

Merged
merged 1 commit into from
Oct 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dart/dynamics/BodyNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ class BodyNode :
virtual ~Properties() = default;
};

BodyNode(const BodyNode&) = delete;

/// Destructor
virtual ~BodyNode();

Expand Down
2 changes: 2 additions & 0 deletions dart/dynamics/Entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ class Entity : public virtual common::Subject
/// Constructor for typical usage
explicit Entity(Frame* _refFrame, const std::string& _name, bool _quiet);

Entity(const Entity&) = delete;

/// Destructor
virtual ~Entity();

Expand Down
2 changes: 2 additions & 0 deletions dart/dynamics/Frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class Frame : public virtual Entity
friend class Entity;
friend class WorldFrame;

Frame(const Frame&) = delete;

/// Destructor
virtual ~Frame();

Expand Down
2 changes: 2 additions & 0 deletions dart/dynamics/Joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ class Joint : public virtual common::Subject
/// Default actuator type
static const ActuatorType DefaultActuatorType;

Joint(const Joint&) = delete;

/// Destructor
virtual ~Joint();

Expand Down
2 changes: 2 additions & 0 deletions dart/dynamics/MetaSkeleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class MetaSkeleton : public common::Subject
const std::string& _oldName,
const std::string& _newName)>;

MetaSkeleton(const MetaSkeleton&) = delete;

/// Default destructor
virtual ~MetaSkeleton() = default;

Expand Down
2 changes: 2 additions & 0 deletions dart/dynamics/Skeleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ class Skeleton : public MetaSkeleton
/// Get the mutex that protects the state of this Skeleton
std::mutex& getMutex() const;

Skeleton(const Skeleton&) = delete;

/// Destructor
virtual ~Skeleton();

Expand Down