clang-18 warning fixes (part 1) (#785)

* clang-18 warning fixes (part 1)

* format fixes

* More format fixes

* More format fixes

[ROCm/rocprofiler-sdk commit: c668028781]
This commit is contained in:
Benjamin Welton authored and GitHub committed 2024-04-18 18:28:32 -05:00
1 parent 360595c82e
commit a81a453940
5 files changed
+26 -26

No files matched your search

@@ -698,7 +698,7 @@ write_ring_buffer(Tb* _v, buffer_type_t type)
ptr = _tmp_buf->request(false);
CHECK(ptr != nullptr);
}
*ptr = std::move(*reinterpret_cast<Tb*>(_v));
*ptr = std::move(*_v);
}
template <typename Tp>