Skip to content

Commit

Permalink
test a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed May 21, 2017
1 parent 865be6d commit f07fd31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/game_events/manager.cpp
Expand Up @@ -110,13 +110,13 @@ manager::iteration::iteration(const std::string& event_name, manager& man)
{
// Clean up expired ptrs. This saves us effort later since it ensures every ptr is valid.

main_list_.remove_if(
[](weak_handler_ptr ptr) { return ptr.expired(); }
);
//main_list_.remove_if(
// [](weak_handler_ptr ptr) { return ptr.expired(); }
//);

var_list_.remove_if(
[](weak_handler_ptr ptr) { return ptr.expired(); }
);
//var_list_.remove_if(
// [](weak_handler_ptr ptr) { return ptr.expired(); }
//);
}

/**
Expand Down

0 comments on commit f07fd31

Please sign in to comment.