diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-12-05 19:46:23 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-12-05 19:46:23 +0000 |
commit | d4f5e7dfef57e117db7208ba95b8be7b7192f267 (patch) | |
tree | 9a7a45c48f31a4ad3bf2517d857bfa525aee4603 /ACE/ace/Read_Buffer.h | |
parent | 498b6696a54ed788b20a5538044277bee089cac1 (diff) | |
download | ATCD-d4f5e7dfef57e117db7208ba95b8be7b7192f267.tar.gz |
Tue Dec 5 19:44:43 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Read_Buffer.h')
-rw-r--r-- | ACE/ace/Read_Buffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Read_Buffer.h b/ACE/ace/Read_Buffer.h index 937152a7498..e8d7348bd73 100644 --- a/ACE/ace/Read_Buffer.h +++ b/ACE/ace/Read_Buffer.h @@ -39,7 +39,7 @@ class ACE_Allocator; * Processing. * * This implementation is optimized to do a single dynamic - * allocation and make only one copy of the data. It uses + * allocation and make only one copy of the data. It uses * recursion and the run-time stack to accomplish this * efficiently. */ @@ -49,7 +49,7 @@ public: // = Initialization and termination methods. /// Read from a FILE *. ACE_Read_Buffer (FILE *fp, - int close_on_delete = 0, + bool close_on_delete = false, ACE_Allocator * = 0); #if !defined (ACE_HAS_WINCE) @@ -57,7 +57,7 @@ public: /// Read from an open HANDLE. ACE_Read_Buffer (ACE_HANDLE handle, - int close_on_delete = 0, + bool close_on_delete = false, ACE_Allocator * = 0); #endif // ACE_HAS_WINCE @@ -112,7 +112,7 @@ private: /// Keeps track of whether we should close the FILE in the /// destructor. - int close_on_delete_; + bool const close_on_delete_; /// Pointer to the allocator. ACE_Allocator *allocator_; |