mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
build: Fix MSVC builds
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
#include <hex/test/tests.hpp>
|
||||
|
||||
namespace hex::test {
|
||||
std::map<std::string, Test> Tests::s_tests;
|
||||
|
||||
static std::map<std::string, Test> s_tests;
|
||||
int Tests::addTest(const std::string &name, Function func, bool shouldFail) noexcept {
|
||||
s_tests.insert({
|
||||
name, {func, shouldFail}
|
||||
});
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::map<std::string, Test> &Tests::get() noexcept {
|
||||
return s_tests;
|
||||
}
|
||||
|
||||
bool initPluginImpl(std::string name) {
|
||||
if (name != "Built-in") {
|
||||
|
||||
Reference in New Issue
Block a user