@@ -43,6 +43,9 @@ struct async_message {
43
43
destination_(),
44
44
status_(),
45
45
headers_(),
46
+ retrieved_headers_(),
47
+ added_headers(),
48
+ removed_headers(),
46
49
body_() {}
47
50
48
51
async_message (async_messageconst & other)
@@ -52,6 +55,9 @@ struct async_message {
52
55
destination_(other.destination_),
53
56
status_(other.status_),
54
57
headers_(other.headers_),
58
+ retrieved_headers_(other.retrieved_headers_),
59
+ added_headers(other.added_headers),
60
+ removed_headers(other.removed_headers),
55
61
body_(other.body_) {}
56
62
57
63
string_typeconst status_message ()const {return status_message_.get (); }
@@ -123,6 +129,9 @@ struct async_message {
123
129
std::swap (source_, other.source_ );
124
130
std::swap (destination_, other.destination_ );
125
131
std::swap (headers_, other.headers_ );
132
+ std::swap (retrieved_headers_, other.retrieved_headers_ );
133
+ std::swap (added_headers, other.added_headers );
134
+ std::swap (removed_headers, other.removed_headers );
126
135
std::swap (body_, other.body_ );
127
136
}
128
137