summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-11-30 16:35:53 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-11-30 16:35:53 +0100
commit2dae11e6c34ccdaa68b710acb7db93cb1dc430a1 (patch)
tree493e9482d79add05dee33d4dd2c7e574373a4368
parent2488f5c0d9020a9aae7c716a4af34b8b911e1486 (diff)
downloadATCD-2dae11e6c34ccdaa68b710acb7db93cb1dc430a1.tar.gz
Const changes
* ACE/ace/CDR_Stream.inl:
-rw-r--r--ACE/ace/CDR_Stream.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/CDR_Stream.inl b/ACE/ace/CDR_Stream.inl
index fe25108da85..69810663b82 100644
--- a/ACE/ace/CDR_Stream.inl
+++ b/ACE/ace/CDR_Stream.inl
@@ -1277,7 +1277,7 @@ operator<< (ACE_OutputCDR &os, const ACE_CDR::WChar *x)
ACE_INLINE ACE_CDR::Boolean
operator<< (ACE_OutputCDR &os, ACE_OutputCDR::from_std_string x)
{
- ACE_CDR::ULong len =
+ ACE_CDR::ULong const len =
static_cast<ACE_CDR::ULong> (x.val_.size ());
os.write_string (len, x.val_.c_str ());
@@ -1289,7 +1289,7 @@ operator<< (ACE_OutputCDR &os, ACE_OutputCDR::from_std_string x)
ACE_INLINE ACE_CDR::Boolean
operator<< (ACE_OutputCDR &os, ACE_OutputCDR::from_std_wstring x)
{
- ACE_CDR::ULong len =
+ ACE_CDR::ULong const len =
static_cast<ACE_CDR::ULong> (x.val_.size ());
os.write_wstring (len, x.val_.c_str ());