Skip to content

Commit

Permalink
[code] Use const exception
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Jan 13, 2021
1 parent 971fa81 commit 2ea3804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) {

try {
renderer = std::make_unique<inexor::vulkan_renderer::Application>(argc, argv);
} catch (inexor::vulkan_renderer::exceptions::VulkanException &exception) {
} catch (const inexor::vulkan_renderer::exceptions::VulkanException &exception) {
spdlog::critical(exception.what());
std::abort();
}
Expand Down

0 comments on commit 2ea3804

Please sign in to comment.