summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FieldValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/FieldValue.h')
-rw-r--r--cpp/src/qpid/framing/FieldValue.h6
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 << ":"; };
};