dtinfo subdirectory DtMmdb
This commit is contained in:
committed by
Jon Trulson
parent
0be684281d
commit
fbd81ef151
@@ -90,7 +90,6 @@ debug(cerr, inactive_list.count());
|
||||
|
||||
|
||||
replaced = 0;
|
||||
Boolean ok = true;
|
||||
|
||||
switch (x.get_position()) {
|
||||
case ACTIVE:
|
||||
@@ -131,8 +130,6 @@ Boolean lru::promote(rep_cell& x)
|
||||
|
||||
Boolean lru::derank(rep_cell& x, position_t opt)
|
||||
{
|
||||
Boolean ok = true;
|
||||
|
||||
switch (x.get_position()) {
|
||||
case ACTIVE:
|
||||
//MESSAGE(cerr, "active status to derank");
|
||||
@@ -158,6 +155,8 @@ Boolean lru::derank(rep_cell& x, position_t opt)
|
||||
inactive_list.insert_as_tail(&x);
|
||||
x.set_position(INACTIVE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -227,6 +226,8 @@ Boolean lru::remove(rep_cell& x)
|
||||
case NOWHERE:
|
||||
throw(stringException("lru::last(): bad option"));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void lru::remove()
|
||||
|
||||
Reference in New Issue
Block a user