Skip to content

Commit

Permalink
Remove the copy constructor
Browse files Browse the repository at this point in the history
No more copy constructors in the atomspace.
  • Loading branch information
linas committed Jan 14, 2020
1 parent 762312d commit 4e4cbbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions opencog/spacetime/octomap/OctoMapNode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 44,6 @@ OctoMapNode::OctoMapNode(const std::string& name, TimeOctomapPtr ocmap) : Node(O
octomapPtr = ocmap;
}

OctoMapNode::OctoMapNode(const Node& n)
: Node(n)
{
Type tocnode = n.get_type();
if (not nameserver().isA(tocnode, OCTOMAP_NODE)) {
const std::string& tname = nameserver().getTypeName(tocnode);
throw InvalidParamException(TRACE_INFO,
"Expecting an OctoMapNode, got %s", tname.c_str());
}
}

OctoMapNode::~OctoMapNode()
{
}
Expand Down
1 change: 0 additions & 1 deletion opencog/spacetime/octomap/OctoMapNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 56,6 @@ class OctoMapNode : public Node
public:
OctoMapNode(Type t, const std::string&);
OctoMapNode(const std::string&, TimeOctomapPtr);
OctoMapNode(const Node&);
virtual ~OctoMapNode();

inline TimeOctomapPtr get_map(void)
Expand Down

0 comments on commit 4e4cbbe

Please sign in to comment.