SPS_SABRE_EventBuilder/src/spsdict/DataStructs.cpp

8 lines
422 B
C++

#include "DataStructs.h"
/*
ROOT does a bad job of ensuring that header-only type dictionaries (the only type they explicity accept)
are linked when compiled as shared libraries (the recommended method). As a work around, as a dummy function that
ensures the library is linked (better than no-as-needed which I dont think is in general supported across platforms)
*/
bool EnforceDictionaryLinked() { return true; }