From 5accb0c2c007f846c1a78c7053043281d6fe4873 Mon Sep 17 00:00:00 2001 From: Barry Fowler Date: Thu, 25 Aug 2022 19:29:05 -0700 Subject: [PATCH] Fixed warning-as-error for Microsoft compiler --- tutorials/bfr/tutorial_3_2/bfr_tutorial_3_2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/bfr/tutorial_3_2/bfr_tutorial_3_2.cpp b/tutorials/bfr/tutorial_3_2/bfr_tutorial_3_2.cpp index f945e881..333fc4c2 100644 --- a/tutorials/bfr/tutorial_3_2/bfr_tutorial_3_2.cpp +++ b/tutorials/bfr/tutorial_3_2/bfr_tutorial_3_2.cpp @@ -166,7 +166,7 @@ public: // Public methods to retrieved cached Surfaces and their pre-computed // patch points: // - bool FaceHasLimitSurface(int face) { return _entries[face].hasLimit > 0; } + bool FaceHasLimitSurface(int face) { return _entries[face].hasLimit; } Surface const * GetSurface(int face) { return _entries[face].surface.get();}