diff --git a/native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp b/native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp index 6cdd864a2b4..fe14e9e8111 100644 --- a/native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp +++ b/native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp @@ -813,7 +813,7 @@ void fillRenderPassInfo(const AttachmentMap &colorMap, } }; -[[nodiscard("concat")]] ccstd::pmr::string concatResName( +[[nodiscard]] ccstd::pmr::string concatResName( std::string_view name0, std::string_view name1, boost::container::pmr::memory_resource *scratch) { @@ -857,7 +857,7 @@ void extractNames(const ccstd::pmr::string &resName, } } -[[nodiscard("subresName")]] ccstd::pmr::string getSubresName(const ccstd::pmr::string &resName, +[[nodiscard]] ccstd::pmr::string getSubresName(const ccstd::pmr::string &resName, uint32_t planeID, const ResourceGraph& resg, boost::container::pmr::memory_resource* scratch) { const auto& desc = get(ResourceGraph::DescTag{}, resg, vertex(resName, resg));