diff options
author | Chris Robinson <[email protected]> | 2018-11-18 21:18:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 21:18:19 -0800 |
commit | e23796aabe21a065b3fde34e8023a60a4bcb7dc5 (patch) | |
tree | 464e2d5d9947992e9cfa1024f719f62cc5643091 /Alc/helpers.cpp | |
parent | 140c139852de0bde537de0314e30239832f309f1 (diff) |
Use a standard string for the enumerated HRTF names
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r-- | Alc/helpers.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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<char*>(al_calloc(DEF_ALIGN, len+1))}; - memcpy(ret, str, len); - return ret; -} |