mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-22 10:52:49 +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 {
|
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)"); }
|
~indenter_finish() { if(hlog.indentation != ind.backup) println(hlog, "(done)"); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user