From 1c3e384f06beae66789163f5e69f7c2f0e70cad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 11 Sep 2024 20:06:35 +0200 Subject: [PATCH] doc: fix references to Corrade string view literals. Similar to previous commit, Doxygen 1.12 being finally strict and refusing to link to this. There's a new (inline) namespace in between, and it needs the Corrade:: prefix also. --- src/Magnum/Vk/DeviceCreateInfo.h | 2 +- src/Magnum/Vk/Instance.h | 2 +- src/Magnum/Vk/InstanceCreateInfo.h | 12 ++++++------ src/Magnum/Vk/ShaderSet.h | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Magnum/Vk/DeviceCreateInfo.h b/src/Magnum/Vk/DeviceCreateInfo.h index 4b803dce2..5ce10a5b0 100644 --- a/src/Magnum/Vk/DeviceCreateInfo.h +++ b/src/Magnum/Vk/DeviceCreateInfo.h @@ -187,7 +187,7 @@ class MAGNUM_VK_EXPORT DeviceCreateInfo { * * @note The function makes copies of string views that are not global * or null-terminated, use the - * @link Containers::Literals::operator""_s() @endlink + * @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink * literal to prevent that where possible. */ DeviceCreateInfo& addEnabledExtensions(const Containers::StringIterable& extensions) &; diff --git a/src/Magnum/Vk/Instance.h b/src/Magnum/Vk/Instance.h index c16cfc698..35f0e4cd9 100644 --- a/src/Magnum/Vk/Instance.h +++ b/src/Magnum/Vk/Instance.h @@ -82,7 +82,7 @@ required either, but may be beneficial for the driver: @m_class{m-note m-success} @par - The above code uses the @link Containers::Literals::operator""_s() @endlink + The above code uses the @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink literal, which lets the library know that given string is global and null-terminated. Such strings then don't need to be copied internally to keep them in scope until they're consumed by Vulkan APIs. The same is diff --git a/src/Magnum/Vk/InstanceCreateInfo.h b/src/Magnum/Vk/InstanceCreateInfo.h index 9d3000737..7e9d45de3 100644 --- a/src/Magnum/Vk/InstanceCreateInfo.h +++ b/src/Magnum/Vk/InstanceCreateInfo.h @@ -154,8 +154,8 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { * * @note The function makes copies of string views that are not global * or null-terminated, use the - * @link Containers::Literals::operator""_s() @endlink literal to - * prevent that where possible. + * @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink + * literal to prevent that where possible. */ InstanceCreateInfo& setApplicationInfo(Containers::StringView name, Version version); @@ -180,8 +180,8 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { * * @note The function makes copies of string views that are not global * or null-terminated, use the - * @link Containers::Literals::operator""_s() @endlink literal to - * prevent that where possible. + * @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink + * literal to prevent that where possible. */ InstanceCreateInfo& addEnabledLayers(const Containers::StringIterable& layers); @@ -208,8 +208,8 @@ class MAGNUM_VK_EXPORT InstanceCreateInfo { * * @note The function makes copies of string views that are not global * or null-terminated, use the - * @link Containers::Literals::operator""_s() @endlink literal to - * prevent that where possible. + * @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink + * literal to prevent that where possible. */ InstanceCreateInfo& addEnabledExtensions(const Containers::StringIterable& extensions); /** @overload */ diff --git a/src/Magnum/Vk/ShaderSet.h b/src/Magnum/Vk/ShaderSet.h index 72b8d7e52..db3f7f2c5 100644 --- a/src/Magnum/Vk/ShaderSet.h +++ b/src/Magnum/Vk/ShaderSet.h @@ -123,7 +123,7 @@ parameter is needed. @m_class{m-note m-success} @par - The above code uses the @link Containers::Literals::operator""_s() @endlink + The above code uses the @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink literal, which lets the library know that given string is global and null-terminated. Such strings then don't need to be copied internally to keep them in scope until they're consumed by Vulkan APIs. @@ -185,7 +185,7 @@ class MAGNUM_VK_EXPORT ShaderSet { * @return Reference to self (for method chaining) * * The function makes a copy of @p entrypoint if it's not global or - * null-terminated, use the @link Containers::Literals::operator""_s() @endlink + * null-terminated, use the @link Corrade::Containers::Literals::StringLiterals::operator""_s() Containers::Literals::operator""_s() @endlink * literal to prevent that where possible. * * The populated @type_vk{VkPipelineShaderStageCreateInfo} is