From e23796aabe21a065b3fde34e8023a60a4bcb7dc5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 18 Nov 2018 21:18:19 -0800 Subject: Use a standard string for the enumerated HRTF names --- Alc/helpers.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Alc/helpers.cpp') diff --git a/Alc/helpers.cpp b/Alc/helpers.cpp index d31101f7..a78e3d83 100644 --- a/Alc/helpers.cpp +++ b/Alc/helpers.cpp @@ -726,12 +726,3 @@ void SetRTPriority(void) } #endif - - -char *alstrdup(const char *str) -{ - const size_t len{strlen(str)}; - char *ret{static_cast(al_calloc(DEF_ALIGN, len+1))}; - memcpy(ret, str, len); - return ret; -} -- cgit v1.2.3