diff options
author | Adam Mitz <mitza@ociweb.com> | 2015-04-24 16:51:30 -0500 |
---|---|---|
committer | Adam Mitz <mitza@ociweb.com> | 2015-04-24 16:51:59 -0500 |
commit | 5324658dacd6ad89562dff5a19e61acd729a7647 (patch) | |
tree | 35bd73d88679742467183f27ae0dd01d09138b0f /ACE/ace/CDR_Base.h | |
parent | 556ddfba6b91b55cbb530e0221a48ccb330687e7 (diff) | |
download | ATCD-5324658dacd6ad89562dff5a19e61acd729a7647.tar.gz |
ACE_CDR::Fixed corrected warnings and errors, fixed bugs.
Diffstat (limited to 'ACE/ace/CDR_Base.h')
-rw-r--r-- | ACE/ace/CDR_Base.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/ace/CDR_Base.h b/ACE/ace/CDR_Base.h index 039f3bc38dc..22dd8adf977 100644 --- a/ACE/ace/CDR_Base.h +++ b/ACE/ace/CDR_Base.h @@ -371,9 +371,9 @@ public: enum { MAX_DIGITS = 31, - MAX_STRING_SIZE = 3 + MAX_DIGITS, // includes -, ., terminator + MAX_STRING_SIZE = 4 + MAX_DIGITS, // includes -, 0, ., terminator POSITIVE = 0xc, - NEGATIVE = 0xd, + NEGATIVE = 0xd }; static Fixed from_integer (LongLong val = 0); @@ -516,6 +516,7 @@ public: Fixed div_helper2 (const Fixed &rhs, Fixed &r) const; Fixed div_helper1 (const Fixed &rhs, Fixed &r) const; Fixed join (int digits, const Fixed &bottom) const; + void ltrim (); }; //@} |