From bc1975ad4362bc5ac0bd775614459e3fb8be9cc9 Mon Sep 17 00:00:00 2001 From: giorgiomarcias Date: Thu, 16 Oct 2014 09:42:48 +0000 Subject: [PATCH] Added "const" keyword to IsEmpty(). --- vcg/complex/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/base.h b/vcg/complex/base.h index 827e0597..49f2ff88 100644 --- a/vcg/complex/base.h +++ b/vcg/complex/base.h @@ -369,7 +369,7 @@ void Clear() C()=Color4b::Gray; } -bool IsEmpty() +bool IsEmpty() const { return vert.empty() && edge.empty() && face.empty(); }