sigproxy: Don't expose the thread_local '_current' attribute
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 2 Sep 2018 21:23:06 +0000 (23:23 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commitfb80dab2044d302eb8ccacd0b34d4cbaf5fe904c
tree725a8f855667659d844ede2ccbd650a0174bce3d
parentf00917808808161cc5fb01d0ac4da13ffffbffbb
sigproxy: Don't expose the thread_local '_current' attribute

Windows does not allow exporting thread_local attributes in the
DLL interface. Since it's not good practice anyway to expose such
an implementation detail in the public header, make the accessor
non-inline and move the attribute into a private anonymous namespace,
removing it from the public interface.
src/common/signalproxy.cpp
src/common/signalproxy.h