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/Tagged_Profile.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/Tagged_Profile.cpp')
-rw-r--r-- | TAO/tao/Tagged_Profile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Tagged_Profile.cpp b/TAO/tao/Tagged_Profile.cpp index e1fc756e517..2731ea66fb4 100644 --- a/TAO/tao/Tagged_Profile.cpp +++ b/TAO/tao/Tagged_Profile.cpp @@ -87,7 +87,7 @@ TAO_Tagged_Profile::unmarshall_object_key (TAO_InputCDR &input) CORBA::Boolean TAO_Tagged_Profile::unmarshall_object_key_i (TAO_InputCDR &input) { - CORBA::Boolean hdr_status = (CORBA::Boolean) input.good_bit (); + CORBA::Boolean hdr_status = input.good_bit (); CORBA::Long key_length = 0; hdr_status = hdr_status && input.read_long (key_length); @@ -110,7 +110,7 @@ TAO_Tagged_Profile::unmarshall_object_key_i (TAO_InputCDR &input) CORBA::Boolean TAO_Tagged_Profile::unmarshall_iop_profile_i (TAO_InputCDR &input) { - CORBA::Boolean hdr_status = (CORBA::Boolean) input.good_bit (); + CORBA::Boolean hdr_status = input.good_bit (); // Extract into the IOP::Tagged profile. hdr_status &= input >> this->profile_; @@ -121,7 +121,7 @@ TAO_Tagged_Profile::unmarshall_iop_profile_i (TAO_InputCDR &input) CORBA::Boolean TAO_Tagged_Profile::unmarshall_ref_addr_i (TAO_InputCDR &input) { - CORBA::Boolean hdr_status = (CORBA::Boolean) input.good_bit (); + CORBA::Boolean hdr_status = input.good_bit (); /* * The GIOP::IORAddressingInfo is defined as follows |