summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/framing/Array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/Array.h b/cpp/src/qpid/framing/Array.h
index 1367a023f2..2cbd4c0b29 100644
--- a/cpp/src/qpid/framing/Array.h
+++ b/cpp/src/qpid/framing/Array.h
@@ -54,7 +54,7 @@ class Array
void add(ValuePtr value);
template <class T>
- void collect(std::vector<T>& out)
+ void collect(std::vector<T>& out) const
{
for (ValueVector::const_iterator i = values.begin(); i != values.end(); ++i) {
out.push_back((*i)->get<T>());