Remove deprecated Trigger constructor

This commit is contained in:
Tim Wojtulewicz 2024-08-04 21:22:59 -07:00
parent 535df5e263
commit a53cc4d01b
2 changed files with 0 additions and 13 deletions

View file

@ -89,12 +89,6 @@ protected:
double time; double time;
}; };
Trigger::Trigger(std::shared_ptr<WhenInfo> wi, double timeout, const IDSet& _globals, std::vector<ValPtr> _local_aggrs,
Frame* f, const Location* loc)
: Trigger(std::move(wi), _globals, std::move(_local_aggrs), timeout, f, loc) {
Unref(this);
}
Trigger::Trigger(std::shared_ptr<WhenInfo> wi, const IDSet& _globals, std::vector<ValPtr> _local_aggrs, double timeout, Trigger::Trigger(std::shared_ptr<WhenInfo> wi, const IDSet& _globals, std::vector<ValPtr> _local_aggrs, double timeout,
Frame* f, const Location* loc) { Frame* f, const Location* loc) {
timeout_value = timeout; timeout_value = timeout;

View file

@ -46,13 +46,6 @@ class TriggerTraversalCallback;
class Trigger final : public Obj, public notifier::detail::Receiver { class Trigger final : public Obj, public notifier::detail::Receiver {
public: public:
// This first constructor can return an invalid pointer, so
// its value must not be used further.
[[deprecated(
"Remove in v7.1. Use second Trigger constructor via "
"make_intrusive<...>.")]] Trigger(std::shared_ptr<WhenInfo> wi, double timeout, const IDSet& globals,
std::vector<ValPtr> local_aggrs, Frame* f, const Location* loc);
// Use this constructor via make_intrusive<...>. The usual pattern is // Use this constructor via make_intrusive<...>. The usual pattern is
// to then discard what's returned, i.e. "(void)make_intrusive<...>" - // to then discard what's returned, i.e. "(void)make_intrusive<...>" -
// however, a valid pointer will be returned that can be used for // however, a valid pointer will be returned that can be used for