File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
include/ignition/gazebo/detail Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,6 @@ class IGNITION_GAZEBO_VISIBLE BaseView
188
188
// / \sa ToAddEntities
189
189
public: void ClearToAddEntities ();
190
190
191
- public: virtual std::unique_ptr<BaseView> Clone () const = 0;
192
-
193
191
// TODO(adlarkin) make this a std::unordered_set for better performance.
194
192
// We need to make sure nothing else depends on the ordered preserved by
195
193
// std::set first
Original file line number Diff line number Diff line change @@ -106,8 +106,6 @@ class View : public BaseView
106
106
// / \brief Documentation inherited
107
107
public: void Reset () override ;
108
108
109
- public: std::unique_ptr<BaseView> Clone () const override ;
110
-
111
109
// / \brief A map of entities to their component data. Since tuples are defined
112
110
// / at compile time, we need separate containers that have tuples for both
113
111
// / non-const and const component pointers (calls to ECM::Each can have a
@@ -332,13 +330,6 @@ void View<ComponentTypeTs...>::Reset()
332
330
this ->invalidConstData .clear ();
333
331
this ->missingCompTracker .clear ();
334
332
}
335
-
336
- // ////////////////////////////////////////////////
337
- template <typename ...ComponentTypeTs>
338
- std::unique_ptr<BaseView> View<ComponentTypeTs...>::Clone() const
339
- {
340
- return std::make_unique<View<ComponentTypeTs...>>(*this );
341
- }
342
333
} // namespace detail
343
334
} // namespace IGNITION_GAZEBO_VERSION_NAMESPACE
344
335
} // namespace gazebo
You can’t perform that action at this time.
0 commit comments