diff --git a/indra/llmessage/message.cpp b/indra/llmessage/message.cpp index 48071ef3610f43d6d86871aec19895538d3d08a4..48aa24bc0efb7dcc925bdde368bf7772c5b8b4ca 100644 --- a/indra/llmessage/message.cpp +++ b/indra/llmessage/message.cpp @@ -3962,6 +3962,11 @@ BOOL LLMessageSystem::has(const char *blockname) const return getNumberOfBlocks(blockname) > 0; } +BOOL LLMessageSystem::hasFast(const char *blockname) const +{ + return getNumberOfBlocksFast(blockname) > 0; +} + S32 LLMessageSystem::getNumberOfBlocksFast(const char *blockname) const { return mMessageReader->getNumberOfBlocks(blockname); diff --git a/indra/llmessage/message.h b/indra/llmessage/message.h index 1a7881e9432cc34946ebba2f6ca1048d6e7197b4..2add4213a6dcabdef7077c459cf9013710a32e87 100644 --- a/indra/llmessage/message.h +++ b/indra/llmessage/message.h @@ -726,6 +726,7 @@ class LLMessageSystem : public LLMessageSenderInterface void sanityCheck(); BOOL has(const char *blockname) const; + BOOL hasFast(const char *blockname) const; S32 getNumberOfBlocksFast(const char *blockname) const; S32 getNumberOfBlocks(const char *blockname) const; S32 getSizeFast(const char *blockname, const char *varname) const;