File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 77#include < mutex>
88#include < ostream>
99#include < sstream>
10+ #include < functional>
1011#include " DeprecationUtils.h"
1112#include " ObjectPool.h"
1213
@@ -245,8 +246,8 @@ namespace pcpp
245246 // / @param[in] method The method in PcapPlusPlus code the log message is coming from
246247 // / @param[in] line The line in PcapPlusPlus code the log message is coming from
247248 // / @remarks The printer callback should support being called from multiple threads simultaneously.
248- using LogPrinter = std::add_pointer_t <void (LogLevel logLevel, const std::string& logMessage,
249- const std::string& file, const std::string& method, const int line)>;
249+ using LogPrinter = std::function <void (LogLevel logLevel, const std::string& logMessage, const std::string& file ,
250+ const std::string& method, const int line)>;
250251
251252 // / A static method for converting the log level enum to a string.
252253 // / @param[in] logLevel A log level enum
You can’t perform that action at this time.
0 commit comments