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 7
7
#include < mutex>
8
8
#include < ostream>
9
9
#include < sstream>
10
+ #include < functional>
10
11
#include " DeprecationUtils.h"
11
12
#include " ObjectPool.h"
12
13
@@ -245,8 +246,8 @@ namespace pcpp
245
246
// / @param[in] method The method in PcapPlusPlus code the log message is coming from
246
247
// / @param[in] line The line in PcapPlusPlus code the log message is coming from
247
248
// / @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)>;
250
251
251
252
// / A static method for converting the log level enum to a string.
252
253
// / @param[in] logLevel A log level enum
You can’t perform that action at this time.
0 commit comments