diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-02-02 09:09:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 09:09:04 +0100 |
commit | 107d2bfea7caaecb5e00c67134786b011bf4479b (patch) | |
tree | 0945094240686a43343f14ff8186f5dc0248d40c /TAO/tao/GIOP_Message_Generator_Parser_10.cpp | |
parent | 8ab31e3e5bb8c09a9c326a54545f4cb475345a78 (diff) | |
parent | 01cb9ff254befab9c674e957a9e063b3c09bcc26 (diff) | |
download | ATCD-107d2bfea7caaecb5e00c67134786b011bf4479b.tar.gz |
Merge pull request #2041 from jwillemsen/jwi-goodbit
good_bit is a bool and removed some uncessary c-style casts
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_10.cpp')
-rw-r--r-- | TAO/tao/GIOP_Message_Generator_Parser_10.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp index d5bb7996fa8..de75c05f61d 100644 --- a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp +++ b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp @@ -333,7 +333,7 @@ TAO_GIOP_Message_Generator_Parser_10::parse_request_header ( if (!(input >> service_info)) return -1; - CORBA::Boolean hdr_status = (CORBA::Boolean) input.good_bit (); + CORBA::Boolean hdr_status = input.good_bit (); CORBA::ULong req_id = 0; @@ -392,7 +392,7 @@ TAO_GIOP_Message_Generator_Parser_10::parse_request_header ( CORBA::OctetSeq oct_seq; input >> oct_seq; request.requesting_principal (oct_seq); - hdr_status = (CORBA::Boolean) input.good_bit (); + hdr_status = input.good_bit (); } return hdr_status ? 0 : -1; |