Merge pull request #44 from Kojoley/envelope-copyctor-fix

AMQP::Envelope copy constructor missing base class constructor call
This commit is contained in:
Emiel Bruijntjes 2015-11-01 05:14:27 -05:00
commit 6061d853c7
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ public:
* @param envelope the envelope to copy
*/
Envelope(const Envelope &envelope) :
MetaData(envelope),
_str(envelope._body, envelope._bodySize),
_body(_str.data()),
_bodySize(_str.size())