remove request validation logic from the push method

This commit is contained in:
yggverse 2024-09-04 03:58:32 +03:00
parent 18e1d449c0
commit b2e45c7967

View File

@ -76,8 +76,6 @@ void History::push(
const Glib::ustring & REQUEST, const Glib::ustring & REQUEST,
const bool & FOLLOW const bool & FOLLOW
) { ) {
if (memory.empty() || memory.back().request != REQUEST)
{
memory.push_back( memory.push_back(
{ {
REQUEST, REQUEST,
@ -92,7 +90,6 @@ void History::push(
{ {
index = memory.size(); index = memory.size();
} }
}
} }
void History::refresh() void History::refresh()