Commit 7ba2c757 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Don't export header-only template classes

It breaks MSVC build (and makes no sense anyway, a template class never produces
a symbol, only instantiation of the template does, but that does not happen in
the library)
parent b46cf574
......@@ -31,7 +31,7 @@ namespace Akonadi {
* Base class for single file based resources.
*/
template<typename Settings>
class AKONADI_SINGLEFILERESOURCE_EXPORT SingleFileResource : public SingleFileResourceBase
class SingleFileResource : public SingleFileResourceBase
{
public:
SingleFileResource(const QString &id)
......
......@@ -13,7 +13,7 @@
#include "singlefileresourceconfigwidget.h"
template<typename Settings>
class AKONADI_SINGLEFILERESOURCE_EXPORT SingleFileResourceConfigBase : public Akonadi::AgentConfigurationBase
class SingleFileResourceConfigBase : public Akonadi::AgentConfigurationBase
{
public:
explicit SingleFileResourceConfigBase(const KSharedConfigPtr &config, QWidget *parent, const QVariantList &list)
......
......@@ -18,7 +18,7 @@ namespace Akonadi {
* Configuration widget for single file resources.
*/
template<typename Settings>
class AKONADI_SINGLEFILERESOURCE_EXPORT SingleFileResourceConfigWidget : public SingleFileResourceConfigWidgetBase
class SingleFileResourceConfigWidget : public SingleFileResourceConfigWidgetBase
{
Settings *mSettings = nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment