diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-06-03 18:51:07 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-06-03 18:51:07 +0000 |
commit | e9fcbff699a534f5ed7d5c680247c40517a8ce1f (patch) | |
tree | b7fec3389a1e6000cd7d762fdff43b5b0f994e77 | |
parent | d02e982a5cb49a5bbb3e052df27cef02ecb4d988 (diff) | |
download | ATCD-e9fcbff699a534f5ed7d5c680247c40517a8ce1f.tar.gz |
ChangeLogTag: Fri Jun 3 18:46:50 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r-- | ACE/ChangeLog | 9 | ||||
-rw-r--r-- | ACE/ace/CDR_Base.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index fcd3a07755c..17484cf3536 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,12 @@ +Fri Jun 3 18:46:50 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu> + + * ace/CDR_Base.h: + + Made the ACE_CDR::LongDouble struct constructor from native + long double explicit, which eliminates compiler ambiguities + when the struct's '==' and '!=' operators are used with + a native long double rhs. + Wed Jun 1 19:30:44 UTC 2011 Jeff Parsons <j.parsons@vanderbilt.edu> * ace/CDR_Base.cpp: diff --git a/ACE/ace/CDR_Base.h b/ACE/ace/CDR_Base.h index be48a17e7db..61285e0c69a 100644 --- a/ACE/ace/CDR_Base.h +++ b/ACE/ace/CDR_Base.h @@ -316,7 +316,7 @@ public: char ld[16]; LongDouble (void); - LongDouble (const long double &val); + explicit LongDouble (const long double &val); LongDouble& assign (const NativeImpl& rhs); LongDouble& assign (const LongDouble& rhs); |