diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2018-01-17 14:08:12 -0500 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2018-01-17 16:35:41 -0500 |
commit | 2dab63338c700b9f92f50dfdd3b9490f04057503 (patch) | |
tree | 498034cb327aff82f3b832bfeef43879483a4d7c /src/components/protocol_handler | |
parent | a8c3e2ac28d758b30a2b933918635ef33f2d4cd3 (diff) | |
download | sdl_core-2dab63338c700b9f92f50dfdd3b9490f04057503.tar.gz |
Address review commentsfeature/deprecated_method_macro
Remove C style casts
Add comments for pragma directives
Remove redundant DEPRECATED macro usages
Diffstat (limited to 'src/components/protocol_handler')
-rw-r--r-- | src/components/protocol_handler/src/protocol_handler_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/protocol_handler/src/protocol_handler_impl.cc b/src/components/protocol_handler/src/protocol_handler_impl.cc index 921f27873f..0c4b72b535 100644 --- a/src/components/protocol_handler/src/protocol_handler_impl.cc +++ b/src/components/protocol_handler/src/protocol_handler_impl.cc @@ -1307,9 +1307,10 @@ class StartSessionHandler : public security_manager::SecurityManagerListener { } // namespace #endif // ENABLE_SECURITY +// Suppress warning for deprecated method used within another deprecated method #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" -DEPRECATED RESULT_CODE ProtocolHandlerImpl::HandleControlMessageStartSession( +RESULT_CODE ProtocolHandlerImpl::HandleControlMessageStartSession( const ProtocolPacket& packet) { LOG4CXX_AUTO_TRACE(logger_); LOG4CXX_DEBUG( |