No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
This commit is contained in:
@@ -134,7 +134,7 @@ LLLandmark* LLLandmark::constructFromString(const char *buffer)
|
||||
goto error;
|
||||
}
|
||||
cur += chars_read;
|
||||
// llinfos << "Landmark read: " << pos << llendl;
|
||||
// LL_INFOS() << "Landmark read: " << pos << LL_ENDL;
|
||||
|
||||
return new LLLandmark(pos);
|
||||
}
|
||||
@@ -161,7 +161,7 @@ LLLandmark* LLLandmark::constructFromString(const char *buffer)
|
||||
}
|
||||
|
||||
error:
|
||||
llinfos << "Bad Landmark Asset: bad _DATA_ block." << llendl;
|
||||
LL_INFOS() << "Bad Landmark Asset: bad _DATA_ block." << LL_ENDL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ void LLLandmark::requestRegionHandle(
|
||||
if(region_id.isNull())
|
||||
{
|
||||
// don't bother with checking - it's 0.
|
||||
lldebugs << "requestRegionHandle: null" << llendl;
|
||||
LL_DEBUGS() << "requestRegionHandle: null" << LL_ENDL;
|
||||
if(callback)
|
||||
{
|
||||
const U64 U64_ZERO = 0;
|
||||
@@ -193,7 +193,7 @@ void LLLandmark::requestRegionHandle(
|
||||
{
|
||||
if(region_id == mLocalRegion.first)
|
||||
{
|
||||
lldebugs << "requestRegionHandle: local" << llendl;
|
||||
LL_DEBUGS() << "requestRegionHandle: local" << LL_ENDL;
|
||||
if(callback)
|
||||
{
|
||||
callback(region_id, mLocalRegion.second);
|
||||
@@ -204,14 +204,14 @@ void LLLandmark::requestRegionHandle(
|
||||
region_map_t::iterator it = mRegions.find(region_id);
|
||||
if(it == mRegions.end())
|
||||
{
|
||||
lldebugs << "requestRegionHandle: upstream" << llendl;
|
||||
LL_DEBUGS() << "requestRegionHandle: upstream" << LL_ENDL;
|
||||
if(callback)
|
||||
{
|
||||
region_callback_map_t::value_type vt(region_id, callback);
|
||||
sRegionCallbackMap.insert(vt);
|
||||
}
|
||||
lldebugs << "Landmark requesting information about: "
|
||||
<< region_id << llendl;
|
||||
LL_DEBUGS() << "Landmark requesting information about: "
|
||||
<< region_id << LL_ENDL;
|
||||
msg->newMessage("RegionHandleRequest");
|
||||
msg->nextBlock("RequestBlock");
|
||||
msg->addUUID("RegionID", region_id);
|
||||
@@ -220,7 +220,7 @@ void LLLandmark::requestRegionHandle(
|
||||
else if(callback)
|
||||
{
|
||||
// we have the answer locally - just call the callack.
|
||||
lldebugs << "requestRegionHandle: ready" << llendl;
|
||||
LL_DEBUGS() << "requestRegionHandle: ready" << LL_ENDL;
|
||||
callback(region_id, (*it).second.mRegionHandle);
|
||||
}
|
||||
}
|
||||
@@ -254,8 +254,8 @@ void LLLandmark::processRegionIDAndHandle(LLMessageSystem* msg, void**)
|
||||
#if LL_DEBUG
|
||||
U32 grid_x, grid_y;
|
||||
grid_from_region_handle(info.mRegionHandle, &grid_x, &grid_y);
|
||||
lldebugs << "Landmark got reply for region: " << region_id << " "
|
||||
<< grid_x << "," << grid_y << llendl;
|
||||
LL_DEBUGS() << "Landmark got reply for region: " << region_id << " "
|
||||
<< grid_x << "," << grid_y << LL_ENDL;
|
||||
#endif
|
||||
|
||||
// make all the callbacks here.
|
||||
|
||||
Reference in New Issue
Block a user