Fix name shadowing warning in SurfaceCountersError
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 18 Oct 2019 15:35:37 +0000 (17:35 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 18 Oct 2019 20:22:17 +0000 (16:22 -0400)
This is a simple warning fix that should not affect any test results,
related to the previous solution to the issue below.

Components: Vulkan
VK-GL-CTS issue: 1683

Change-Id: Ifa702330768f87e25d73f7489a306b4d4a1bbfb3

external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp

index 00c3e37..e59bef6 100644 (file)
@@ -1533,7 +1533,7 @@ namespace
 {
        struct SurfaceCountersError : public std::runtime_error
        {
-               SurfaceCountersError(const std::string& what) : std::runtime_error(what) {}
+               SurfaceCountersError(const std::string& what_) : std::runtime_error(what_) {}
        };
 }