mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Move some repetitive code into a separate method
This commit is contained in:
parent
ec50b66ff3
commit
f4461d5e95
3 changed files with 25 additions and 80 deletions
|
@ -289,7 +289,7 @@ protected:
|
|||
* @return A Location pointer containing the file location information,
|
||||
* or nullptr if nothing is available.
|
||||
*/
|
||||
virtual zeek::detail::Location* GetLocationInfo() const { return nullptr; }
|
||||
virtual const zeek::detail::Location* GetLocationInfo() const { return nullptr; }
|
||||
|
||||
private:
|
||||
/**
|
||||
|
@ -353,6 +353,8 @@ private:
|
|||
*/
|
||||
void Finished();
|
||||
|
||||
std::string BuildMsgWithLocation(const char* msg);
|
||||
|
||||
Queue<BasicInputMessage*> queue_in;
|
||||
Queue<BasicOutputMessage*> queue_out;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue