diff --git a/src/tl/tl/tlException.h b/src/tl/tl/tlException.h index 2b8295c34..cea2a2b35 100644 --- a/src/tl/tl/tlException.h +++ b/src/tl/tl/tlException.h @@ -175,7 +175,9 @@ private: struct TL_PUBLIC TypeError : public Exception { - using Exception::Exception; + TypeError (const std::string &msg) + : Exception (msg) + { } }; /**