Skip to content

Commit

Permalink
CachedInterpreter: Use using aliases instead of typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
lioncash committed Mar 25, 2018
1 parent 071da46 commit 5847a23
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -17,8 +17,8 @@

struct CachedInterpreter::Instruction
{
typedef void (*CommonCallback)(UGeckoInstruction);
typedef bool (*ConditionalCallback)(u32 data);
using CommonCallback = void (*)(UGeckoInstruction);
using ConditionalCallback = bool (*)(u32);

Instruction() {}
Instruction(const CommonCallback c, UGeckoInstruction i)
Expand Down

0 comments on commit 5847a23

Please sign in to comment.