From fbae41020d8968d0e65af08584df4736b5ed7239 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 24 Dec 2018 19:29:01 -0800 Subject: Remove extraneous typedef, struct, and enum keywords --- Alc/backends/dsound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/backends/dsound.cpp') diff --git a/Alc/backends/dsound.cpp b/Alc/backends/dsound.cpp index 26e561bf..4ada7419 100644 --- a/Alc/backends/dsound.cpp +++ b/Alc/backends/dsound.cpp @@ -45,7 +45,7 @@ #include "compat.h" /* MinGW-w64 needs this for some unknown reason now. */ -typedef const WAVEFORMATEX *LPCWAVEFORMATEX; +using LPCWAVEFORMATEX = const WAVEFORMATEX*; #include @@ -960,7 +960,7 @@ void DSoundBackendFactory::deinit() bool DSoundBackendFactory::querySupport(ALCbackend_Type type) { return (type == ALCbackend_Playback || type == ALCbackend_Capture); } -void DSoundBackendFactory::probe(enum DevProbe type, std::string *outnames) +void DSoundBackendFactory::probe(DevProbe type, std::string *outnames) { auto add_device = [outnames](const DevMap &entry) -> void { -- cgit v1.2.3