mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 07:31:15 +00:00
Reapplied a fix from f067332d0ff5 that got lost in ed9ead2ac9e4
This commit is contained in:
parent
ed9ead2ac9
commit
27d4091ec5
@ -31,8 +31,8 @@ class CVideo;
|
||||
class quit_confirmation
|
||||
{
|
||||
public:
|
||||
quit_confirmation(const boost::function<bool()>& promt = &quit_confirmation::default_prompt)
|
||||
: prompt_(promt) { blockers_.push_back(this); }
|
||||
quit_confirmation(const boost::function<bool()>& prompt = &quit_confirmation::default_prompt)
|
||||
: prompt_(prompt) { blockers_.push_back(this); }
|
||||
|
||||
~quit_confirmation() { blockers_.pop_back(); }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user