Skip to content

Commit 63fab7b

Browse files
committed
tidy: Modernize code to eliminate "use using" warning.
Convert an old style "typedef" statement into a modern "using" statement. Change made by clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-using.html
1 parent 0205234 commit 63fab7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythui/mediamonitor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "libmythbase/mythmedia.h"
1313
#include "libmythui/mythuiexp.h"
1414

15-
typedef void (*MediaCallback)(MythMediaDevice *mediadevice, bool forcePlayback);
15+
using MediaCallback = void (*)(MythMediaDevice *, bool);
1616

1717
/// Stores details of media handlers
1818

0 commit comments

Comments
 (0)