summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
diff options
context:
space:
mode:
authorErik Sohns <esohns@users.noreply.github.com>2023-04-06 11:09:11 +0200
committerGitHub <noreply@github.com>2023-04-06 11:09:11 +0200
commita3a7c2a50383ebf00534c28014704ce57e092821 (patch)
tree0de4a576c9929ac6d821462e1693882654f2a456 /TAO/tao/GIOP_Message_Generator_Parser_12.cpp
parent5625244fd7bb77bafabce28fdec790f51ef50080 (diff)
parentb50aba0fdce1069b9aa9b1baac9adee396663779 (diff)
downloadATCD-a3a7c2a50383ebf00534c28014704ce57e092821.tar.gz
Merge branch 'master' into message_queue_ex_get_queue
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_12.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_12.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_12.cpp b/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
index 6396db7a269..0dfc12ae0f4 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
+++ b/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
@@ -16,7 +16,7 @@
// This is used by GIOP1.2. This is to align the message body on a
// 8-octet boundary. This is declared static so that it is in file
// scope.
-static const size_t TAO_GIOP_MESSAGE_ALIGN_PTR = 8;
+static constexpr size_t TAO_GIOP_MESSAGE_ALIGN_PTR = 8;
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -225,7 +225,7 @@ TAO_GIOP_Message_Generator_Parser_12::parse_request_header (
// Get the input CDR in the request class
TAO_InputCDR & input = *request.incoming ();
- CORBA::Boolean hdr_status = (CORBA::Boolean) input.good_bit ();
+ CORBA::Boolean hdr_status = input.good_bit ();
CORBA::ULong req_id = 0;
// Get the rest of the request header ...