diff options
| author | Gordon Sim <gsim@apache.org> | 2008-10-24 12:39:10 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-10-24 12:39:10 +0000 |
| commit | 38c31043f2dd69abba0b3d05e307a4b6d85ffd52 (patch) | |
| tree | f415b6fdcafd377d8e62d72fddd706a5270e4019 /cpp/src/qpid/framing/FieldValue.h | |
| parent | 2effbc58544688cfeabc4d7d6dcbd59805233de0 (diff) | |
| download | qpid-python-38c31043f2dd69abba0b3d05e307a4b6d85ffd52.tar.gz | |
removed qualifiers from return values (cause problems on newer compilers)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707616 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FieldValue.h')
| -rw-r--r-- | cpp/src/qpid/framing/FieldValue.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/qpid/framing/FieldValue.h b/cpp/src/qpid/framing/FieldValue.h index 18c45f3ff8..68081c5674 100644 --- a/cpp/src/qpid/framing/FieldValue.h +++ b/cpp/src/qpid/framing/FieldValue.h @@ -162,11 +162,7 @@ class FixedWidthValue : public FieldValue::Data { v |= octets[width-1]; return v; } - void copyInto(uint8_t* const data) const - { - for (uint i = 0; i < width; ++i) data[i] = octets[i]; - } - uint8_t* const rawOctets() { return octets; } + uint8_t* rawOctets() { return octets; } void print(std::ostream& o) const { o << "F" << width << ":"; }; }; |
