소스 검색

memory: Resolve -Wdocumentation warning for Write()

Write() doesn't return anything, so the @returns tag shouldn't be
present.
Lioncash 5 년 전
부모
커밋
a44ff5ed31
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/core/memory.cpp

+ 0 - 2
src/core/memory.cpp

@@ -667,8 +667,6 @@ struct Memory::Impl {
      * @tparam T The data type to write to memory. This type *must* be
      *           trivially copyable, otherwise the behavior of this function
      *           is undefined.
-     *
-     * @returns The instance of T write to the specified virtual address.
      */
     template <typename T>
     void Write(const VAddr vaddr, const T data) {