summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/InstrumentationI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-01-31 16:51:40 +0100
committerJose <jose@zeroc.com>2013-01-31 16:51:40 +0100
commit4d55f11cdf22fbc23e3e7c9f4758566bd05a9471 (patch)
treef5c3071ebb27c18dae2fb2585706bd9af8dd92cf /cpp/src/Ice/InstrumentationI.cpp
parentFixed ICE-4870 - optional comparison operators on C++ structs (diff)
downloadice-4d55f11cdf22fbc23e3e7c9f4758566bd05a9471.tar.bz2
ice-4d55f11cdf22fbc23e3e7c9f4758566bd05a9471.tar.xz
ice-4d55f11cdf22fbc23e3e7c9f4758566bd05a9471.zip
Xcode 4.6 - clang 4.2 updates
Diffstat (limited to 'cpp/src/Ice/InstrumentationI.cpp')
-rw-r--r--cpp/src/Ice/InstrumentationI.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/InstrumentationI.cpp b/cpp/src/Ice/InstrumentationI.cpp
index c370348120c..e5a15432fd1 100644
--- a/cpp/src/Ice/InstrumentationI.cpp
+++ b/cpp/src/Ice/InstrumentationI.cpp
@@ -559,7 +559,25 @@ private:
const ConnectionInfoPtr& _connectionInfo;
const EndpointPtr& _endpoint;
+
+//
+// Clang 4.2 reports unused-private-field for the _requestId
+// field that is only used in the nested Attributes class.
+//
+#ifdef __clang__
+# pragma clang diagnostic push
+# pragma clang diagnostic ignored "-Wunused-private-field"
+#endif
+
const int _requestId;
+
+//
+// Restore diagnostic to previous state.
+//
+#ifdef __clang__
+# pragma clang diagnostic pop
+#endif
+
const int _size;
mutable string _id;
mutable EndpointInfoPtr _endpointInfo;