mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
remove request validation logic from the push method
This commit is contained in:
parent
18e1d449c0
commit
b2e45c7967
1 changed files with 11 additions and 14 deletions
|
|
@ -76,8 +76,6 @@ void History::push(
|
|||
const Glib::ustring & REQUEST,
|
||||
const bool & FOLLOW
|
||||
) {
|
||||
if (memory.empty() || memory.back().request != REQUEST)
|
||||
{
|
||||
memory.push_back(
|
||||
{
|
||||
REQUEST,
|
||||
|
|
@ -92,7 +90,6 @@ void History::push(
|
|||
{
|
||||
index = memory.size();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void History::refresh()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue