From f00038918c3249f92b73c46942f3337b9b0c56a7 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Fri, 15 Jul 2011 02:35:37 -0500 Subject: [PATCH] A few small insignifigant things from v2 llinventory --- indra/llinventory/llparcel.cpp | 2 +- indra/llinventory/llparcel.h | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp index 52ee7e3bf..c167ef194 100644 --- a/indra/llinventory/llparcel.cpp +++ b/indra/llinventory/llparcel.cpp @@ -452,7 +452,7 @@ BOOL LLParcel::allowTerraformBy(const LLUUID &agent_id) const bool LLParcel::isAgentBlockedFromParcel(LLParcel* parcelp, const LLUUID& agent_id, - const std::vector& group_ids, + const uuid_vec_t& group_ids, const BOOL is_agent_identified, const BOOL is_agent_transacted, const BOOL is_agent_ageverified) diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h index eb9c44e53..2d74495b6 100644 --- a/indra/llinventory/llparcel.h +++ b/indra/llinventory/llparcel.h @@ -135,9 +135,15 @@ class LLSD; class LLAccessEntry { public: - LLUUID mID; - S32 mTime; - U32 mFlags; + LLAccessEntry() + : mID(), + mTime(0), + mFlags(0) + {} + + LLUUID mID; // Agent ID + S32 mTime; // Time (unix seconds) when entry expires + U32 mFlags; // Not used - currently should always be zero }; typedef std::map::iterator access_map_iterator;