X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fio%2Fzlibcompressed.h;h=7a7973425bdcc573f48b65b838b062adf416b6d5;hb=41363aed34382386f915f17c1a961750b4fdcb14;hp=fb12d61a4eff0fdcb07386582b759c302fc361dd;hpb=99b9121e2158603372c7313400283b622e6754d8;p=libs%2Fcore.git diff --git a/source/io/zlibcompressed.h b/source/io/zlibcompressed.h index fb12d61..7a79734 100644 --- a/source/io/zlibcompressed.h +++ b/source/io/zlibcompressed.h @@ -12,13 +12,13 @@ namespace IO { class zlib_error: public std::runtime_error { private: - int code_; + int m_code; public: zlib_error(const std::string &, int); virtual ~zlib_error() throw() = default; - int code() const throw() { return code_; } + int code() const throw() { return m_code; } }; /** @@ -35,10 +35,10 @@ private: Base &below; std::size_t buffer_size = 1024; - unsigned char *in_buffer = 0; - unsigned char *out_buffer = 0; + unsigned char *in_buffer = nullptr; + unsigned char *out_buffer = nullptr; bool stream_end = false; - Private *priv = 0; + Private *priv = nullptr; public: /** Creates a zlib de/compression object. The underlying object must be