From 7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 31 Jan 2016 14:00:05 +0100 Subject: 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 --- common/entitybuffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/entitybuffer.h') diff --git a/common/entitybuffer.h b/common/entitybuffer.h index c9c2453..c23f2e8 100644 --- a/common/entitybuffer.h +++ b/common/entitybuffer.h @@ -1,12 +1,13 @@ #pragma once +#include #include #include namespace Sink { struct Entity; -class EntityBuffer { +class SINKCOMMON_EXPORT EntityBuffer { public: EntityBuffer(const void *dataValue, int size); const uint8_t *resourceBuffer(); -- cgit v1.2.3