diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 14:00:05 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 14:05:11 +0100 |
commit | 7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005 (patch) | |
tree | d2a7635629bdb897aaeba592a6c98dcae3450937 /common/facade.h | |
parent | 380649c1eb762f5f7a10cd15d1c5e87f36b0638c (diff) | |
download | sink-7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005.tar.gz sink-7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005.zip |
Explicitly state visibility
This cuts the exportet symbols from 12k to 2k and the library size from
16Mb to 14Mb, which isn't great but still an improvement.
About 30% of the symbols are coming from the Store:: interface.
nm -C -D /work/install/lib64/libsinkcommon.so.0.1
Diffstat (limited to 'common/facade.h')
-rw-r--r-- | common/facade.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/facade.h b/common/facade.h index c25464f..26b9e6c 100644 --- a/common/facade.h +++ b/common/facade.h | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include <sinkcommon_export.h> | ||
22 | #include "facadeinterface.h" | 23 | #include "facadeinterface.h" |
23 | 24 | ||
24 | #include <QByteArray> | 25 | #include <QByteArray> |
@@ -43,7 +44,7 @@ namespace Sink { | |||
43 | * Additionally a resource only has to provide a synchronizer plugin to execute the synchronization | 44 | * Additionally a resource only has to provide a synchronizer plugin to execute the synchronization |
44 | */ | 45 | */ |
45 | template <typename DomainType> | 46 | template <typename DomainType> |
46 | class GenericFacade: public Sink::StoreFacade<DomainType> | 47 | class SINKCOMMON_EXPORT GenericFacade: public Sink::StoreFacade<DomainType> |
47 | { | 48 | { |
48 | public: | 49 | public: |
49 | /** | 50 | /** |