From f17719b43ca5cebc57b56ad266d86a013d11dab1 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 11 Nov 2022 00:32:03 +0100 Subject: [PATCH] Fixed builds for MSVC 2017 python module builds with setuptools. --- src/tl/tl/tlException.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) + { } }; /**