diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-08-05 17:03:41 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-08-05 17:03:41 +0000 |
commit | 8ede8e237fa0ea496819d4794c6d3ec06c9389de (patch) | |
tree | 9133906d3163118dd5589176c45735ddabcee8d5 /TAO/CIAO/CCF | |
parent | 34953f96f55bae3d4e9bf26380f1ce9e4556e428 (diff) | |
download | ATCD-8ede8e237fa0ea496819d4794c6d3ec06c9389de.tar.gz |
ChangeLogTag: Thu Aug 5 11:56:03 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/CIAO/CCF')
-rw-r--r-- | TAO/CIAO/CCF/CCF/CodeGenerationKit/IndentationImplanter.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/CIAO/CCF/CCF/CodeGenerationKit/IndentationImplanter.hpp b/TAO/CIAO/CCF/CCF/CodeGenerationKit/IndentationImplanter.hpp index 63303cdcb17..57dcf02af4a 100644 --- a/TAO/CIAO/CCF/CCF/CodeGenerationKit/IndentationImplanter.hpp +++ b/TAO/CIAO/CCF/CCF/CodeGenerationKit/IndentationImplanter.hpp @@ -28,8 +28,8 @@ namespace Indentation int_type; public: - ToStreamBufAdapter (Buffer<C>& buffer) - : buffer_ (buffer) + ToStreamBufAdapter (Buffer<C>& b) + : buffer_ (b) { } @@ -70,15 +70,15 @@ namespace Indentation Exception; public: - FromStreamBufAdapter (std::basic_streambuf<C>& buffer) - : buffer_ (buffer) + FromStreamBufAdapter (std::basic_streambuf<C>& b) + : buffer_ (b) { } virtual int_type put (char_type c) throw (Exception, ExH::System::Exception) - { - return buffer_.sputc (traits_type::to_int_type (c)); + { + return buffer_.sputc (c); } virtual void @@ -99,7 +99,7 @@ namespace Indentation std::basic_streambuf<C>& buffer_; }; - template <template <typename> class Buffer, typename C = char> + template <template <typename> class BufferType, typename C = char> class Implanter { public: @@ -144,7 +144,7 @@ namespace Indentation FromStreamBufAdapter<C> from_adapter_; - Buffer<C> buffer_; + BufferType<C> buffer_; ToStreamBufAdapter<C> to_adapter_; }; |