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/resource.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/resource.h')
-rw-r--r-- | common/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resource.h b/common/resource.h index 30d6c46..d2dba0e 100644 --- a/common/resource.h +++ b/common/resource.h | |||
@@ -67,7 +67,7 @@ private: | |||
67 | /** | 67 | /** |
68 | * Factory interface for resource to implement. | 68 | * Factory interface for resource to implement. |
69 | */ | 69 | */ |
70 | class ResourceFactory : public QObject | 70 | class SINKCOMMON_EXPORT ResourceFactory : public QObject |
71 | { | 71 | { |
72 | public: | 72 | public: |
73 | static ResourceFactory *load(const QString &resourceName); | 73 | static ResourceFactory *load(const QString &resourceName); |