| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/editors/imhex/files/ |
Upload File : |
--- plugins/builtin/source/content/settings_entries.cpp.orig 2022-07-16 11:41:37 UTC
+++ plugins/builtin/source/content/settings_entries.cpp
@@ -19,8 +19,7 @@ namespace {
userFolders.clear();
std::vector<std::string> paths = setting;
for (const auto &path : paths) {
- // JSON reads char8_t as array, char8_t is not supported as of now
- std::u8string_view uString(reinterpret_cast<const char8_t *>(&path.front()), reinterpret_cast<const char8_t *>(std::next(&path.back())));
+ std::string_view uString(&path.front()); // This is necessary for Clang13
userFolders.emplace_back(uString);
}
}