Skip to content

Commit f5ede0a

Browse files
committed
[mesh-buffer] Fix clang-tidy warnings
1 parent 05a410d commit f5ede0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/inexor/vulkan-renderer/wrapper/mesh_buffer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class MeshBuffer {
204204

205205
[[nodiscard]] auto get_index_buffer_address() const {
206206
if (!m_index_buffer) {
207-
throw std::runtime_error("Error: No index buffer for mesh " + m_name);
207+
throw std::runtime_error("Error: No index buffer for mesh available");
208208
}
209209

210210
return m_index_buffer.value().allocation_info().pMappedData;
@@ -217,7 +217,7 @@ class MeshBuffer {
217217

218218
void update_indices(const std::vector<IndexType> &indices) {
219219
if (!m_index_buffer) {
220-
throw std::runtime_error("Error: No index buffer for mesh " + m_name);
220+
throw std::runtime_error("Error: No index buffer for mesh available");
221221
}
222222

223223
std::memcpy(m_index_buffer.value().allocation_info().pMappedData, indices.data(),

0 commit comments

Comments
 (0)