diff --git a/README.md b/README.md index a07c35e..e638540 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ Here are a few code examples: device.allocateMemory(allocateInfo, nullptr); } - catch (std::system_error e) + catch (const std::exception &e) { std::cerr << "Vulkan failure: " << e.what() << std::endl; } @@ -223,4 +223,4 @@ NVIDIA is happy to review and consider pull requests for merging into the main t way deemed appropriate. Due to the required paperwork please refrain from providing pull requests for simple changes and file an issue describing a bug or the desired change instead. * Not all pull requests can be or will be accepted. NVIDIA will close pull requests that it does not intend to merge. -* The modified files and any new files must include the unmodified NVIDIA copyright header seen at the top of all shipping files. \ No newline at end of file +* The modified files and any new files must include the unmodified NVIDIA copyright header seen at the top of all shipping files.