Resolve compilation errors when building under RelWithDebInfo configuration.

This commit is contained in:
Shyotl
2015-07-23 03:06:17 -05:00
parent e335848169
commit 25fbeb2080

View File

@@ -571,7 +571,7 @@ void LLSpatialGroup::updateDistance(LLCamera &camera)
} }
#if !LL_RELEASE_FOR_DOWNLOAD #if !LL_RELEASE_FOR_DOWNLOAD
if (hasState(LLSpatialGroup::OBJECT_DIRTY)) if (hasState(LLSpatialGroup::eSpatialState(OBJECT_DIRTY)))
{ {
LL_ERRS() << "Spatial group dirty on distance update." << LL_ENDL; LL_ERRS() << "Spatial group dirty on distance update." << LL_ENDL;
} }
@@ -1082,7 +1082,7 @@ public:
{ {
LLSpatialGroup* group = (LLSpatialGroup*)base_group; LLSpatialGroup* group = (LLSpatialGroup*)base_group;
llassert(!group->hasState(LLSpatialGroup::DIRTY) && !group->isEmpty()); llassert(!group->hasState(LLSpatialGroup::eSpatialState(LLSpatialGroup::DIRTY)) && !group->isEmpty());
if (mRes < 2) if (mRes < 2)
{ {