1
0
Fork 0
forked from suyu/suyu

memory: Resolve -Wdocumentation warning for Write()

Write() doesn't return anything, so the @returns tag shouldn't be
present.
This commit is contained in:
Lioncash 2020-12-08 12:44:55 -05:00
parent 3415890dd5
commit a44ff5ed31

View file

@ -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) {