1
0
mirror of synced 2024-11-30 18:34:29 +01:00
ImHex/dist/web/plugin-bundle.cpp.in
Anton Samokhvalov 8042aa39bf
fix: ODR issues in plugin bundle generation (#1486)
fix possible ODR - multiple classes with same name in different .cpp
files
2024-01-06 22:13:35 +01:00

14 lines
231 B
C++

#include <hex/helpers/logger.hpp>
extern "C" void forceLinkPlugin_@IMHEX_PLUGIN_NAME@();
namespace {
struct StaticLoad {
StaticLoad() {
forceLinkPlugin_@IMHEX_PLUGIN_NAME@();
}
};
}
static StaticLoad staticLoad;