Skip to content
Snippets Groups Projects
Unverified Commit 69ae3281 authored by corentinberge's avatar corentinberge Committed by GitHub
Browse files

Update signal-ptr.h

Delete isplugged instead of unplug
parent 89b3ab9c
No related branches found
No related tags found
No related merge requests found
......@@ -62,11 +62,7 @@ namespace dynamicgraph
const SignalBase<Time>* getAbstractPtr () const; // throw
virtual void plug( SignalBase<Time>* ref );
//Useless function, didn't find any use of this one
/*virtual void unplug () { plug(NULL); }
virtual bool isPluged () const DYNAMIC_GRAPH_DEPRECATED {
return isPlugged ();
}*/
virtual void unplug () { plug(NULL); }
virtual bool isPlugged () const { return (NULL!=signalPtr); }
virtual SignalBase<Time>* getPluged () const { return signalPtr; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment