File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3087,7 +3087,7 @@ uint64_t CConnman::CalculateKeyedNetGroup(const CAddress& ad) const
3087
3087
3088
3088
void CaptureMessageToFile (const CAddress& addr,
3089
3089
const std::string& msg_type,
3090
- const Span<const unsigned char >& data,
3090
+ Span<const unsigned char > data,
3091
3091
bool is_incoming)
3092
3092
{
3093
3093
// Note: This function captures the message at the time of processing,
@@ -3118,6 +3118,6 @@ void CaptureMessageToFile(const CAddress& addr,
3118
3118
3119
3119
std::function<void (const CAddress& addr,
3120
3120
const std::string& msg_type,
3121
- const Span<const unsigned char >& data,
3121
+ Span<const unsigned char > data,
3122
3122
bool is_incoming)>
3123
3123
CaptureMessage = CaptureMessageToFile;
Original file line number Diff line number Diff line change @@ -1275,13 +1275,13 @@ class CConnman
1275
1275
/* * Dump binary message to file, with timestamp */
1276
1276
void CaptureMessageToFile (const CAddress& addr,
1277
1277
const std::string& msg_type,
1278
- const Span<const unsigned char >& data,
1278
+ Span<const unsigned char > data,
1279
1279
bool is_incoming);
1280
1280
1281
1281
/* * Defaults to `CaptureMessageToFile()`, but can be overridden by unit tests. */
1282
1282
extern std::function<void (const CAddress& addr,
1283
1283
const std::string& msg_type,
1284
- const Span<const unsigned char >& data,
1284
+ Span<const unsigned char > data,
1285
1285
bool is_incoming)>
1286
1286
CaptureMessage;
1287
1287
You can’t perform that action at this time.
0 commit comments