Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vuniv committed Dec 26, 2023
1 parent ee067d6 commit 96259bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,11 +519,11 @@ bool Manager::getCrt()
return it != buffer.end();
}

bool getMcf()//TODO rename to are and are rename to get
bool Manager::getMcf()//TODO rename to are and are rename to get
{
return (downloadCandidate.multithreading == MgRs::mcf);
}
bool areMcf()
bool Manager::areMcf()
{
auto it = std::find_if(buffer.begin(), buffer.end(), [&](auto &member){
return member.multithreading == MgRs::mcf
Expand Down
2 changes: 1 addition & 1 deletion src/page6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void update_6()
if(Manager::manager.getMcf()){
Manager::manager.downloadCandidate.runtime = Crt::ucrt;
choice->clear();
choice->add(runtimes[1]);
choice->add(runtimes[1].data());
choice->value(0);
return;
}else{
Expand Down

0 comments on commit 96259bf

Please sign in to comment.