diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-06-16 23:27:31 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-06-16 23:37:03 -0400 |
| commit | d1475f6d59fe5973e3e3bf945bd96ae110f96936 (patch) | |
| tree | b583686fb1d276e46bea4dfa8a6194713903ac83 /Source/Core/Common | |
| parent | 027c17558fde26c51688e44707f6eb3a13c67be4 (diff) | |
Common/MsgHandler: Convert type aliases over to using
Same thing, nicer to read.
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/MsgHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/MsgHandler.h b/Source/Core/Common/MsgHandler.h index dcb79f4196..53c3f56e55 100644 --- a/Source/Core/Common/MsgHandler.h +++ b/Source/Core/Common/MsgHandler.h @@ -15,8 +15,8 @@ enum class MsgType Critical }; -typedef bool (*MsgAlertHandler)(const char* caption, const char* text, bool yes_no, MsgType style); -typedef std::string (*StringTranslator)(const char* text); +using MsgAlertHandler = bool (*)(const char* caption, const char* text, bool yes_no, MsgType style); +using StringTranslator = std::string (*)(const char* text); void RegisterMsgAlertHandler(MsgAlertHandler handler); void RegisterStringTranslator(StringTranslator translator); |
