diff options
author | Chris Robinson <[email protected]> | 2022-05-14 10:27:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-05-14 10:27:03 -0700 |
commit | 0a57ebdd495149156736aea3e1aba4d2b3e55dd4 (patch) | |
tree | 3c3e943eff4a3ddbacabca1646188358381afd7f | |
parent | f2858ac8656c22e8d300cba42883bf3008206c1c (diff) |
Mark the template base as inline
Apple LLVM doesn't like template specializatioms marked inline without the
(deleted) base also being inline.
-rw-r--r-- | alc/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/device.h b/alc/device.h index 04931a5a..434d4d8f 100644 --- a/alc/device.h +++ b/alc/device.h @@ -141,7 +141,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice>, DeviceBase { { return GetConfigValueBool(DeviceName.c_str(), block, key, def); } template<typename T> - al::optional<T> configValue(const char *block, const char *key) = delete; + inline al::optional<T> configValue(const char *block, const char *key) = delete; DEF_NEWDEL(ALCdevice) }; |