mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove deprecated Trigger constructor
This commit is contained in:
parent
535df5e263
commit
a53cc4d01b
2 changed files with 0 additions and 13 deletions
|
@ -89,12 +89,6 @@ protected:
|
|||
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,
|
||||
Frame* f, const Location* loc) {
|
||||
timeout_value = timeout;
|
||||
|
|
|
@ -46,13 +46,6 @@ class TriggerTraversalCallback;
|
|||
|
||||
class Trigger final : public Obj, public notifier::detail::Receiver {
|
||||
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
|
||||
// to then discard what's returned, i.e. "(void)make_intrusive<...>" -
|
||||
// however, a valid pointer will be returned that can be used for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue