summaryrefslogtreecommitdiffstats
path: root/common/index.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 14:00:05 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 14:05:11 +0100
commit7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005 (patch)
treed2a7635629bdb897aaeba592a6c98dcae3450937 /common/index.h
parent380649c1eb762f5f7a10cd15d1c5e87f36b0638c (diff)
downloadsink-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/index.h')
-rw-r--r--common/index.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/index.h b/common/index.h
index 20213b2..672f3c2 100644
--- a/common/index.h
+++ b/common/index.h
@@ -1,5 +1,6 @@
1#pragma once 1#pragma once
2 2
3#include <sinkcommon_export.h>
3#include <string> 4#include <string>
4#include <functional> 5#include <functional>
5#include <QString> 6#include <QString>
@@ -8,7 +9,7 @@
8/** 9/**
9 * An index for value pairs. 10 * An index for value pairs.
10 */ 11 */
11class Index 12class SINKCOMMON_EXPORT Index
12{ 13{
13public: 14public:
14 enum ErrorCodes { 15 enum ErrorCodes {