From 59a22165847e58925541654cad308fc420ffdf19 Mon Sep 17 00:00:00 2001 From: Nicholas Van Sickle Date: Thu, 2 Dec 2021 17:49:29 -0800 Subject: [PATCH] Fix a build issue Signed-off-by: Nicholas Van Sickle --- Code/Framework/AzCore/AzCore/DOM/DomVisitor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Framework/AzCore/AzCore/DOM/DomVisitor.h b/Code/Framework/AzCore/AzCore/DOM/DomVisitor.h index c0da56036e..26fb2aa063 100644 --- a/Code/Framework/AzCore/AzCore/DOM/DomVisitor.h +++ b/Code/Framework/AzCore/AzCore/DOM/DomVisitor.h @@ -233,9 +233,9 @@ namespace AZ::Dom //! Helper method, constructs a failure \ref Result with the specified code and supplemental info specified by a format string //! and its arguments. template - static Result VisitorFailure(VisitorErrorCode code, TArgs... formatArgs) + static Result VisitorFailure(VisitorErrorCode code, const char* formatString, TArgs... formatArgs) { - return AZ::Failure(VisitorError(code, AZStd::string::format(formatArgs...))); + return AZ::Failure(VisitorError(code, AZStd::string::format(formatString, formatArgs...))); } //! Helper method, constructs a success \ref Result.