From e210a6d2d45f260fe9a711fc5266b749e6d045a5 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Thu, 6 Nov 2008 16:00:22 +0000 Subject: Non fucntional changes - move sequence count to args, so only store if set - correct const-ness in fieldtable git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711884 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/FieldTable.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpp/src/qpid/framing/FieldTable.h') diff --git a/cpp/src/qpid/framing/FieldTable.h b/cpp/src/qpid/framing/FieldTable.h index 66103448a7..600ee5356d 100644 --- a/cpp/src/qpid/framing/FieldTable.h +++ b/cpp/src/qpid/framing/FieldTable.h @@ -62,14 +62,14 @@ class FieldTable bool isSet(const std::string& name) const { return get(name).get() != 0; } void setString(const std::string& name, const std::string& value); - void setInt(const std::string& name, int value); - void setInt64(const std::string& name, int64_t value); - void setTimestamp(const std::string& name, uint64_t value); - void setUInt64(const std::string& name, uint64_t value); + void setInt(const std::string& name, const int value); + void setInt64(const std::string& name, const int64_t value); + void setTimestamp(const std::string& name, const uint64_t value); + void setUInt64(const std::string& name, const uint64_t value); void setTable(const std::string& name, const FieldTable& value); void setArray(const std::string& name, const Array& value); - void setFloat(const std::string& name, float value); - void setDouble(const std::string& name, double value); + void setFloat(const std::string& name, const float value); + void setDouble(const std::string& name, const double value); //void setDecimal(string& name, xxx& value); int getAsInt(const std::string& name) const; -- cgit v1.2.1