diff options
Diffstat (limited to 'cpp/src/Ice/InstrumentationI.cpp')
-rw-r--r-- | cpp/src/Ice/InstrumentationI.cpp | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/cpp/src/Ice/InstrumentationI.cpp b/cpp/src/Ice/InstrumentationI.cpp index e5a15432fd1..023e4669c09 100644 --- a/cpp/src/Ice/InstrumentationI.cpp +++ b/cpp/src/Ice/InstrumentationI.cpp @@ -560,24 +560,14 @@ 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 - +protected: + // + // COMPILERFIX: Clang 4.2 reports unused-private-field for the _requestId + // field that is only used in the nested Attributes class. + // const int _requestId; -// -// Restore diagnostic to previous state. -// -#ifdef __clang__ -# pragma clang diagnostic pop -#endif - +private: const int _size; mutable string _id; mutable EndpointInfoPtr _endpointInfo; |