summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/message.cc
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2018-01-17 16:38:01 -0500
committerGitHub <noreply@github.com>2018-01-17 16:38:01 -0500
commite8911d03dde016a29b01fe80533bc6ac56531678 (patch)
treef0a237de3aa244f3b824c5a8607adf9e14bf4db5 /src/components/application_manager/src/message.cc
parentac4f7aeabd54a49ecf61dbc12ee19cbeb3522c74 (diff)
parent2dab63338c700b9f92f50dfdd3b9490f04057503 (diff)
downloadsdl_core-feature/send_location_for_mobile_nav.tar.gz
Merge pull request #1938 from smartdevicelink/feature/deprecated_method_macrofeature/send_location_for_mobile_nav
Add DEPRECATED macro, and fix resulting deprecation warnings
Diffstat (limited to 'src/components/application_manager/src/message.cc')
-rw-r--r--src/components/application_manager/src/message.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/application_manager/src/message.cc b/src/components/application_manager/src/message.cc
index d67a235a76..7bc686aef1 100644
--- a/src/components/application_manager/src/message.cc
+++ b/src/components/application_manager/src/message.cc
@@ -89,7 +89,7 @@ Message& Message::operator=(const Message& message) {
set_data_size(message.data_size_);
set_payload_size(message.payload_size_);
if (message.binary_data_) {
- set_binary_data(message.binary_data_);
+ set_binary_data(static_cast<const BinaryData*>(message.binary_data_));
}
set_json_message(message.json_message_);
set_protocol_version(message.protocol_version());
@@ -194,7 +194,6 @@ void Message::set_message_type(MessageType type) {
type_ = type;
}
-// DEPRECATED
void Message::set_binary_data(BinaryData* data) {
if (NULL == data) {
NOTREACHED();