Skip to content

Commit

Permalink
enum type
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkirkham committed Apr 22, 2020
1 parent c6d05f6 commit c96fff7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
16 changes: 0 additions & 16 deletions signatures.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/addresses.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace jc
{
enum Address : uintptr_t {
enum Address {
SANITY_CHECK,
INST_CLOCK,
INST_CHARACTER_MANAGER,
Expand Down
2 changes: 1 addition & 1 deletion src/generator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void WriteHeader(const std::filesystem::path& path, FindPatternResult& addresses
stream << "namespace jc\n";
stream << "{\n";

stream << "enum Address : uintptr_t {\n";
stream << "enum Address {\n";
for (const auto& address : addresses) {
stream << " " << address.first << ",\n";
}
Expand Down

0 comments on commit c96fff7

Please sign in to comment.