mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 18:54:48 +00:00
indenter:: default value for 'b'
This commit is contained in:
parent
3c42a9c081
commit
9c61d80248
@ -261,7 +261,7 @@ struct indenter {
|
||||
};
|
||||
|
||||
struct indenter_finish : indenter {
|
||||
indenter_finish(bool b): indenter(b ? 2:0) {}
|
||||
indenter_finish(bool b = true): indenter(b ? 2:0) {}
|
||||
~indenter_finish() { if(hlog.indentation != ind.backup) println(hlog, "(done)"); }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user