From 97a33f8d66ad2af464de2e9f3823438b79415289 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 23 Mar 2024 20:28:41 +0100 Subject: [PATCH] Trying to fix a linker issue on MSYS --- src/tl/tl/tlStream.cc | 5 +++++ src/tl/tl/tlStream.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tl/tl/tlStream.cc b/src/tl/tl/tlStream.cc index 4ffc2d43e..751c4841d 100644 --- a/src/tl/tl/tlStream.cc +++ b/src/tl/tl/tlStream.cc @@ -47,6 +47,7 @@ #include "tlException.h" #include "tlString.h" #include "tlUri.h" +#include "tlHttpStream.h" #if defined(HAVE_QT) # include @@ -259,6 +260,10 @@ inflating_input_stream::auto_detect_gz () return true; } +// explicit instantiations +template class inflating_input_stream; +template class inflating_input_stream; + // --------------------------------------------------------------- // InputStream implementation diff --git a/src/tl/tl/tlStream.h b/src/tl/tl/tlStream.h index 4e7cfdcf6..c738c84ff 100644 --- a/src/tl/tl/tlStream.h +++ b/src/tl/tl/tlStream.h @@ -590,7 +590,7 @@ private: * @brief A wrapper that adds generic .gz support */ template -class TL_PUBLIC_TEMPLATE inflating_input_stream +class TL_PUBLIC inflating_input_stream : public InputStreamBase { public: