mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Properly forward-declare zeek::plugin::plugin in DebugLogger
This commit is contained in:
parent
3e6ba198db
commit
7a4023a17f
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
|||
|
||||
#ifdef DEBUG
|
||||
|
||||
#include "zeek-config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include <set>
|
||||
|
@ -20,8 +22,9 @@
|
|||
|
||||
#define PLUGIN_DBG_LOG(plugin, args...) zeek::detail::debug_logger.Log(plugin, args)
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Plugin, zeek, plugin);
|
||||
|
||||
namespace zeek {
|
||||
namespace plugin { class Plugin; }
|
||||
|
||||
// To add a new debugging stream, add a constant here as well as
|
||||
// an entry to DebugLogger::streams in DebugLogger.cc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue