No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
This commit is contained in:
@@ -156,7 +156,7 @@ namespace tut
|
||||
{
|
||||
LLPointer<LLInventoryItem> src = create_random_inventory_item();
|
||||
LLSD sd = ll_create_sd_from_inventory_item(src);
|
||||
//llinfos << "sd: " << *sd << llendl;
|
||||
//LL_INFOS() << "sd: " << *sd << LL_ENDL;
|
||||
LLPointer<LLInventoryItem> dst = ll_create_item_from_sd(sd);
|
||||
ensure_equals("1.item id::getUUID() failed", dst->getUUID(), src->getUUID());
|
||||
ensure_equals("2.parent::getParentUUID() failed", dst->getParentUUID(), src->getParentUUID());
|
||||
@@ -220,7 +220,7 @@ namespace tut
|
||||
src->setCreationDate(new_creation);
|
||||
|
||||
sd = ll_create_sd_from_inventory_item(src);
|
||||
//llinfos << "sd: " << *sd << llendl;
|
||||
//LL_INFOS() << "sd: " << *sd << LL_ENDL;
|
||||
dst = ll_create_item_from_sd(sd);
|
||||
ensure_equals("13.item id::getUUID() failed", dst->getUUID(), src->getUUID());
|
||||
ensure_equals("14.parent::getParentUUID() failed", dst->getParentUUID(), src->getParentUUID());
|
||||
@@ -338,7 +338,7 @@ namespace tut
|
||||
LLFILE* fp = LLFile::fopen("linden_file.dat","w+");
|
||||
if(!fp)
|
||||
{
|
||||
llerrs << "file could not be opened\n" << llendl;
|
||||
LL_ERRS() << "file could not be opened\n" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -350,7 +350,7 @@ namespace tut
|
||||
fp = LLFile::fopen("linden_file.dat","r+");
|
||||
if(!fp)
|
||||
{
|
||||
llerrs << "file could not be opened\n" << llendl;
|
||||
LL_ERRS() << "file could not be opened\n" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -491,7 +491,7 @@ namespace tut
|
||||
LLFILE* fp = LLFile::fopen("linden_file.dat","w");
|
||||
if(!fp)
|
||||
{
|
||||
llerrs << "file coudnt be opened\n" << llendl;
|
||||
LL_ERRS() << "file coudnt be opened\n" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -503,7 +503,7 @@ namespace tut
|
||||
fp = LLFile::fopen("linden_file.dat","r");
|
||||
if(!fp)
|
||||
{
|
||||
llerrs << "file coudnt be opened\n" << llendl;
|
||||
LL_ERRS() << "file coudnt be opened\n" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user