A few small insignifigant things from v2 llinventory

This commit is contained in:
Shyotl
2011-07-15 02:35:37 -05:00
parent 3fbfeb2de5
commit f00038918c
2 changed files with 10 additions and 4 deletions

View File

@@ -452,7 +452,7 @@ BOOL LLParcel::allowTerraformBy(const LLUUID &agent_id) const
bool LLParcel::isAgentBlockedFromParcel(LLParcel* parcelp, bool LLParcel::isAgentBlockedFromParcel(LLParcel* parcelp,
const LLUUID& agent_id, const LLUUID& agent_id,
const std::vector<LLUUID>& group_ids, const uuid_vec_t& group_ids,
const BOOL is_agent_identified, const BOOL is_agent_identified,
const BOOL is_agent_transacted, const BOOL is_agent_transacted,
const BOOL is_agent_ageverified) const BOOL is_agent_ageverified)

View File

@@ -135,9 +135,15 @@ class LLSD;
class LLAccessEntry class LLAccessEntry
{ {
public: public:
LLUUID mID; LLAccessEntry()
S32 mTime; : mID(),
U32 mFlags; 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<LLUUID,LLAccessEntry>::iterator access_map_iterator; typedef std::map<LLUUID,LLAccessEntry>::iterator access_map_iterator;