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; }
};
/**