diff options
| author | auth <[email protected]> | 2020-07-03 18:16:36 +0200 |
|---|---|---|
| committer | auth <[email protected]> | 2020-07-03 18:16:36 +0200 |
| commit | 640961bc7a78a48061740790a704a13068cd7e29 (patch) | |
| tree | ea6d547d3a97e8015f44055313f9df2c315a9e34 /client/src | |
| parent | Started asmjit wrapper for easier manipulation. (diff) | |
| download | loader-640961bc7a78a48061740790a704a13068cd7e29.tar.xz loader-640961bc7a78a48061740790a704a13068cd7e29.zip | |
Replaced std::byte by uint8_t
Diffstat (limited to 'client/src')
| -rw-r--r-- | client/src/assembler/assembler.h | 2 | ||||
| -rw-r--r-- | client/src/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assembler/assembler.h b/client/src/assembler/assembler.h index 34096a5..390cd42 100644 --- a/client/src/assembler/assembler.h +++ b/client/src/assembler/assembler.h @@ -7,7 +7,7 @@ using namespace asmjit; namespace assembler { class assembler { - std::vector<std::byte> m_buf; + std::vector<uint8_t> m_buf; CodeHolder m_code; JitRuntime m_runtime; diff --git a/client/src/main.cpp b/client/src/main.cpp index f68ef6a..f0508ce 100644 --- a/client/src/main.cpp +++ b/client/src/main.cpp @@ -10,7 +10,7 @@ int main(int argc, char* argv[]) { a.push({1, 2, 3, 7, 9}); a.end(); for(auto &b : a()) { - io::logger->info("{:x}", int(b)); + io::logger->info("{:x}", b); } |