From bafcba7194c36eaf4fa1cb09b000170f8a138055 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 18 Nov 2018 18:45:45 -0800 Subject: Use a std::string for the device name --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index a81d3f3d..66a7cfa3 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -593,7 +593,7 @@ struct ALCdevice_struct { ALCenum LimiterState{ALC_DONT_CARE_SOFT}; - char *DeviceName{nullptr}; + std::string DeviceName; ATOMIC(ALCenum) LastError{ALC_NO_ERROR}; -- cgit v1.2.3