Superficial changes to script-opt related code

* Rename overly generic ACCESSORS macro with ZEEK_ prefix
* A few places where whitespace was noticeably wrong/distracting
* Minor/obvious reference/move semantics improvements suggested by linter
* Remove unused detail::Scope::Remove(), no need for deprecation
This commit is contained in:
Jon Siwek 2020-12-13 10:33:28 -08:00
parent ff7d9e3d72
commit 481d989495
9 changed files with 23 additions and 46 deletions

View file

@ -50,9 +50,6 @@ public:
ordered_vars.push_back(std::forward<I>(id));
}
IDPtr Remove(std::string_view name);
[[deprecated("Remove in v4.1 as an unused API call.")]]
[[deprecated("Remove in v4.1. Use GetID().")]]
ID* ScopeID() const { return scope_id.get(); }