mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-10 04:18:48 -04:00
Merge pull request #1360 from asuessenbach/discard
Resolve warning/error on discarded return value in ArrayProxyNoTemporaries test.
This commit is contained in:
commit
e26c1fa0f0
@ -84,9 +84,6 @@ int main( int /*argc*/, char ** /*argv*/ )
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// to prevent a warning on unreferenced function vk::getDispatchLoaderStatic, use just one arbitrary vk-function
|
|
||||||
vk::enumerateInstanceVersion();
|
|
||||||
|
|
||||||
// nullptr_t
|
// nullptr_t
|
||||||
fct( nullptr );
|
fct( nullptr );
|
||||||
fctc( nullptr );
|
fctc( nullptr );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user