Closed IceflowRE closed 2 years ago
What about this?
Run git fetch --progress --depth=1 origin main
fatal: unsafe repository ('/__w/vulkan-renderer/vulkan-renderer' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /__w/vulkan-renderer/vulkan-renderer
Error: Process completed with exit code 128.
Ok I fixed the clang-tidy warning:
throw std::runtime_error("Error: No index buffer for mesh " + m_name + "!");
/__w/vulkan-renderer/vulkan-renderer/include/inexor/vulkan-renderer/wrapper/mesh_buffer.hpp:207:19: warning: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting]
I still don't understand it though, as making m_name
a const reference should have resolved the warning, but it didn't (see std::runtime_error). I had to remove the m_name
in the exception message entirely. This is not a problem as I will refactor the exception wrapper at some point so the name of the object associated with the exception will be passed as a separate parameter.
CVE-2022-24765