From c27c7146772df580e1a3cf7904d07e7b72ae6b67 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 27 Nov 2020 11:08:00 +0000 Subject: [PATCH] Fix compilation on stable builds --- renderdoc/core/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/core/settings.cpp b/renderdoc/core/settings.cpp index 7f1674bb4..6385436f4 100644 --- a/renderdoc/core/settings.cpp +++ b/renderdoc/core/settings.cpp @@ -311,7 +311,7 @@ static bool MergeConfigValues(const rdcstr &prefix, SDObject *dstConfig, const S oldVal.c_str(), newVal.c_str()); #if RENDERDOC_STABLE_BUILD - if(dstDesc->data.str.contains(debugOnlyString)) + if(rdcstr(dstDesc->data.str).contains(debugOnlyString)) { RDCWARN("%s customisation will not apply - read only in this build", (prefix + dstChild->name).c_str());