summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/MockChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/MockChannel.h')
-rw-r--r--qpid/cpp/src/tests/MockChannel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/MockChannel.h b/qpid/cpp/src/tests/MockChannel.h
index cadfa83b56..908a222614 100644
--- a/qpid/cpp/src/tests/MockChannel.h
+++ b/qpid/cpp/src/tests/MockChannel.h
@@ -25,12 +25,12 @@
#include "qpid/framing/AMQFrame.h"
#include "qpid/framing/BasicGetBody.h"
#include <boost/shared_ptr.hpp>
-#include <boost/ptr_container/ptr_vector.hpp>
+#include <vector>
/** Mock output handler to collect frames */
struct MockOutputHandler : public qpid::framing::OutputHandler {
- boost::ptr_vector<qpid::framing::AMQFrame> frames;
- void send(qpid::framing::AMQFrame* frame){ frames.push_back(frame); }
+ std::vector<qpid::framing::AMQFrame> frames;
+ void send(qpid::framing::AMQFrame& frame){ frames.push_back(frame); }
};
/**