From 7286da50dc5e8143a33e04175b4d0034c5d6c216 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 10 Aug 2022 21:27:48 +0100 Subject: [PATCH] Fix compilation error --- renderdoc/api/replay/replay_enums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/api/replay/replay_enums.h b/renderdoc/api/replay/replay_enums.h index 62f7725f5..83a3e542e 100644 --- a/renderdoc/api/replay/replay_enums.h +++ b/renderdoc/api/replay/replay_enums.h @@ -1897,7 +1897,7 @@ DOCUMENT(R"(Returns the default executable name with no suffix for a given :clas :return: The default executable name for this tool, or an empty string if the tool is unrecognised. :rtype: str )"); -constexpr inline const char *const ToolExecutable(KnownShaderTool tool) +constexpr inline const char *ToolExecutable(KnownShaderTool tool) { // temporarily disable clang-format to make this more readable. // Ideally we'd use a simple switch() but VS2015 doesn't support that :(.