Commits

Anton Afanasyev  committed ab63b09

Don't copy module objects around - user references where possible

  • Participants
  • Parent commits 0761cd4

Comments (0)

Files changed (1)

File update_ui.cpp

 	std::shared_ptr<UpdaterState> state( new UpdaterState() );
 	state->canceled_by_user = false;
 	for (size_t i = 0; i < mods_count; ++i) {
-		auto mod = _mods->at(i);
+		module& mod = _mods->at(i);
 
 		//Set selection to active item
 		FarListPos flp;