diff options
author | Determinant <[email protected]> | 2019-06-04 18:59:00 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-04 18:59:00 -0400 |
commit | da42ddf96c78a73b4cf5f8854e98e009f4f174a4 (patch) | |
tree | 2435817585507cbc2a158fd84996884263dcc8ec /src/msg.cpp | |
parent | ebada91a1327da99f1827c7e4c15fc3bee527d58 (diff) |
...
Diffstat (limited to 'src/msg.cpp')
-rw-r--r-- | src/msg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg.cpp b/src/msg.cpp index e75d7d4..d395d2b 100644 --- a/src/msg.cpp +++ b/src/msg.cpp @@ -8,7 +8,7 @@ msg_t *msg_new(_opcode_t opcode, bytearray_t *_moved_payload) { bytearray_free(payload); } -datastream_t *msg_get_payload(msg_t *msg) { +datastream_t *msg_get_payload(const msg_t *msg) { return new datastream_t(msg->get_payload()); } |