Update README.md

Fix invalid markdown.
This commit is contained in:
Simon Aittamaa 2022-04-08 11:18:43 +02:00 committed by GitHub
parent b3612a19be
commit c0c4b32d02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,7 +422,7 @@ Sometimes it is required to use `std::vector` with custom allocators. Vulkan-Hpp
std::vector<LayerProperties, MyCustomAllocator> properties = physicalDevice.enumerateDeviceLayerProperties<MyCustomAllocator>();
```
You can as well use a stateful custom allocator by providing it as an argument to those functions. Unfortunately, to make the compilers happy, you also need to explicitly set the Dispatch argument. To get the default there, a simple ´´´{}´´´ would suffice:
You can as well use a stateful custom allocator by providing it as an argument to those functions. Unfortunately, to make the compilers happy, you also need to explicitly set the Dispatch argument. To get the default there, a simple `{}` would suffice:
```c++
MyStatefulCustomAllocator allocator;