From dea9b34634c557823baa648a121d16514d3e8a36 Mon Sep 17 00:00:00 2001 From: ljfa Date: Mon, 21 Sep 2015 13:39:28 +0200 Subject: Remove redundant explicit --- include/io/zlib_streambuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/io/zlib_streambuf.h b/include/io/zlib_streambuf.h index 36062192b7..e7bb780902 100644 --- a/include/io/zlib_streambuf.h +++ b/include/io/zlib_streambuf.h @@ -15,7 +15,7 @@ class zlib_error : public std::runtime_error public: const int errcode; - explicit zlib_error(const char* msg, int errcode): + zlib_error(const char* msg, int errcode): std::runtime_error(msg ? std::string(zError(errcode)) + ": " + msg : zError(errcode)), -- cgit 0.0.5-2-1-g0f52