From ce3afbf6229bb2cdec2b83fac78584e829b91947 Mon Sep 17 00:00:00 2001 From: Georges Berenger Date: Sun, 26 Nov 2023 22:00:18 -0800 Subject: [PATCH] Fix open source builds Summary: This macro isn't available in OSS, let's just avoid it. Differential Revision: D51574638 --- vrs/utils/PixelFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrs/utils/PixelFrame.cpp b/vrs/utils/PixelFrame.cpp index 840414c2..c3cd9956 100644 --- a/vrs/utils/PixelFrame.cpp +++ b/vrs/utils/PixelFrame.cpp @@ -663,7 +663,7 @@ bool PixelFrame::normalizeToPixelFormat( } bool PixelFrame::ssimCompare(const PixelFrame& other, double& meanSSIM, double& meanContrast) { - XR_LOGE_ONCE("PixelFrame::ssimCompare has no open source implementation"); + XR_LOGW("PixelFrame::ssimCompare has no open source implementation"); } #endif // !IS_VRS_OSS_CODE()