mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Various deprecation fixes, reported by failed Spicy builds
- Add deprecated version of ID::SetType() that takes Type* - Add deprecated versions of zeek::set_location in the global namespace - Fix global namespace version of lookup_ID to return ID*
This commit is contained in:
parent
118605f4ac
commit
4d96b7f1cc
6 changed files with 140 additions and 121 deletions
4
src/ID.h
4
src/ID.h
|
@ -63,7 +63,9 @@ public:
|
|||
|
||||
std::string ModuleName() const;
|
||||
|
||||
void SetType(TypePtr t);
|
||||
void SetType(zeek::TypePtr t);
|
||||
[[deprecated("Remove in v4.1. Use version that takes IntrusivePtr.")]]
|
||||
void SetType(zeek::Type* t);
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetType().")]]
|
||||
zeek::Type* Type() { return type.get(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue