mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Constify a couple of method arguments
This commit is contained in:
parent
b51879da83
commit
0817b2d16a
2 changed files with 5 additions and 5 deletions
|
@ -738,7 +738,7 @@ protected:
|
|||
|
||||
class ScheduleTimer : public Timer {
|
||||
public:
|
||||
ScheduleTimer(EventHandlerPtr event, val_list* args, double t,
|
||||
ScheduleTimer(const EventHandlerPtr& event, val_list* args, double t,
|
||||
TimerMgr* tmgr);
|
||||
~ScheduleTimer() override;
|
||||
|
||||
|
@ -881,7 +881,7 @@ protected:
|
|||
|
||||
class RecordAssignExpr : public ListExpr {
|
||||
public:
|
||||
RecordAssignExpr(IntrusivePtr<Expr> record, IntrusivePtr<Expr> init_list, int is_init);
|
||||
RecordAssignExpr(const IntrusivePtr<Expr>& record, const IntrusivePtr<Expr>& init_list, int is_init);
|
||||
};
|
||||
|
||||
class CastExpr : public UnaryExpr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue