diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2023-02-15 14:25:12 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2023-02-15 14:26:42 +0000 |
commit | b72dc62032a1313942c465d602ee4041daaa5467 (patch) | |
tree | 5e973233fb84e8547f6dfbd1567b95e8665ea5c9 /editors/imhex/files/patch-lib_libimhex_include_hex_helpers_patches.hpp | |
parent | 6c5242302936254a372b300268764327b9cbb8bb (diff) | |
download | ports-b72dc62032a1313942c465d602ee4041daaa5467.tar.gz ports-b72dc62032a1313942c465d602ee4041daaa5467.zip |
Diffstat (limited to 'editors/imhex/files/patch-lib_libimhex_include_hex_helpers_patches.hpp')
-rw-r--r-- | editors/imhex/files/patch-lib_libimhex_include_hex_helpers_patches.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/imhex/files/patch-lib_libimhex_include_hex_helpers_patches.hpp b/editors/imhex/files/patch-lib_libimhex_include_hex_helpers_patches.hpp new file mode 100644 index 000000000000..fb97498212b6 --- /dev/null +++ b/editors/imhex/files/patch-lib_libimhex_include_hex_helpers_patches.hpp @@ -0,0 +1,26 @@ +--- lib/libimhex/include/hex/helpers/patches.hpp.orig 2023-02-13 15:24:10 UTC ++++ lib/libimhex/include/hex/helpers/patches.hpp +@@ -4,7 +4,7 @@ + + #include <map> + #include <vector> +-#include <expected> ++#include <tl/expected.hpp> + + namespace hex { + +@@ -18,9 +18,9 @@ namespace hex { + MissingEOF + }; + +- std::expected<std::vector<u8>, IPSError> generateIPSPatch(const Patches &patches); +- std::expected<std::vector<u8>, IPSError> generateIPS32Patch(const Patches &patches); ++ tl::expected<std::vector<u8>, IPSError> generateIPSPatch(const Patches &patches); ++ tl::expected<std::vector<u8>, IPSError> generateIPS32Patch(const Patches &patches); + +- std::expected<Patches, IPSError> loadIPSPatch(const std::vector<u8> &ipsPatch); +- std::expected<Patches, IPSError> loadIPS32Patch(const std::vector<u8> &ipsPatch); ++ tl::expected<Patches, IPSError> loadIPSPatch(const std::vector<u8> &ipsPatch); ++ tl::expected<Patches, IPSError> loadIPS32Patch(const std::vector<u8> &ipsPatch); + } +\ No newline at end of file |