Skip to content

Commit e35720f

Browse files
committed
Cleanup.
1 parent 8fa654b commit e35720f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

include/react/detail/graph/GraphBase.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/***************************************/ REACT_IMPL_BEGIN /**************************************/
2424

2525
///////////////////////////////////////////////////////////////////////////////////////////////////
26-
/// UpdateTimingPolicy
26+
/// WeightHint
2727
///////////////////////////////////////////////////////////////////////////////////////////////////
2828
enum class WeightHint
2929
{
@@ -86,7 +86,6 @@ struct DepCounter<N, First, Args...>
8686
///////////////////////////////////////////////////////////////////////////////////////////////////
8787
template <typename D>
8888
class NodeBase :
89-
public std::enable_shared_from_this<NodeBase<D>>,
9089
public D::Policy::Engine::NodeT,
9190
public UpdateTimingPolicy<D,500>
9291
{
@@ -123,11 +122,6 @@ class NodeBase :
123122
break;
124123
}
125124
}
126-
127-
std::shared_ptr<NodeBase> GetSharedPtr() const
128-
{
129-
return this->shared_from_this();
130-
}
131125
};
132126

133127
template <typename D>

0 commit comments

Comments
 (0)