diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-27 18:19:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-11-27 18:19:14 +0200 |
commit | 238774bc0a8a1c07d5fec89135a766a3e3d8494d (patch) | |
tree | e907a4debac63fd93d7f9a414e834e5694be5c10 | |
parent | f53ef47e23545c1f65ec837fe0ed4a5b9390cada (diff) |
Cosmetic changes
-rw-r--r-- | libxsd/xsd/cxx/xml/sax/std-input-source.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libxsd/xsd/cxx/xml/sax/std-input-source.hxx b/libxsd/xsd/cxx/xml/sax/std-input-source.hxx index f8df40d..15bf217 100644 --- a/libxsd/xsd/cxx/xml/sax/std-input-source.hxx +++ b/libxsd/xsd/cxx/xml/sax/std-input-source.hxx @@ -23,7 +23,7 @@ namespace xsd { class std_input_stream: public xercesc::BinInputStream { - public : + public: std_input_stream (std::istream& is) : is_ (is) { @@ -78,7 +78,7 @@ namespace xsd // Make sure that if we failed, readBytes won't be called // again. // - if (!(is_.bad () || is_.fail ())) + if (!is_.fail ()) { #if _XERCES_VERSION >= 30000 return static_cast<XMLSize_t> (is_.gcount ()); @@ -97,14 +97,14 @@ namespace xsd return 0; } #endif - private : + private: std::istream& is_; }; class std_input_source: public xercesc::InputSource { - public : + public: std_input_source (std::istream& is) : is_ (&is) { @@ -163,7 +163,7 @@ namespace xsd return new std_input_stream (is); } - private : + private: mutable std::istream* is_; }; } |