Fix SIMD on MSVC (#639)

This commit is contained in:
wheremyfoodat
2024-11-20 02:29:27 +02:00
committed by GitHub
parent 20a6e0bf0d
commit 224ddac07c
3 changed files with 22 additions and 15 deletions

View File

@@ -4,7 +4,6 @@
#include <cstdint>
#include <iostream>
#include <iterator>
#include <sstream>
#include <string>
#include <vector>
#include <memory>
@@ -162,19 +161,6 @@ namespace Helpers {
return std::bit_cast<To, From>(from);
}
#endif
static std::vector<std::string> split(const std::string& s, const char c) {
std::istringstream tmp(s);
std::vector<std::string> result(1);
while (std::getline(tmp, *result.rbegin(), c)) {
result.emplace_back();
}
// Remove temporary slot
result.pop_back();
return result;
}
}; // namespace Helpers
// UDLs for memory size values